From 4c16f8fe2b4ea5960a860f14086520c4c80122d3 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 2 May 2018 22:35:33 -0600 Subject: cpu/x86/mp: remove unused functions and limit API exposure barrier_wait_timeout() was not used anywhere in the code. The remaining two functions, barrier_wait() and release_barrier(), are not used anywhere but the mp code. Change-Id: If09991f95306becc68b6008ae6448695fb4a2dca Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/26021 Reviewed-by: Justin TerAvest Reviewed-by: Furquan Shaikh Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/include/cpu/x86/mp.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/include') diff --git a/src/include/cpu/x86/mp.h b/src/include/cpu/x86/mp.h index 8331956f8a..43698229d6 100644 --- a/src/include/cpu/x86/mp.h +++ b/src/include/cpu/x86/mp.h @@ -145,15 +145,5 @@ int mp_park_aps(void); void smm_initiate_relocation_parallel(void); /* Send SMI to self with single execution. */ void smm_initiate_relocation(void); -/* Make a CPU wait until the barrier is released */ -void barrier_wait(atomic_t *b); -/* - * Make a CPU wait until the barrier is released, or timeout occurs - * returns 1 if timeout occurs before barier is released. - * returns 0 if barrier is released before timeout. - */ -int barrier_wait_timeout(atomic_t *b, uint32_t timeout_ms); -/* Release a barrier so that other CPUs waiting for that barrier can continue */ -void release_barrier(atomic_t *b); #endif /* _X86_MP_H_ */ -- cgit v1.2.3