smp/spinlock: Do not define barrier() globally
commiteb8bfd0828d0789782bec9422c68943d6d329031
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Sun, 19 Jul 2020 19:24:17 +0000 (19 22:24 +0300)
committerPatrick Georgi <pgeorgi@google.com>
Sun, 26 Jul 2020 21:00:29 +0000 (26 21:00 +0000)
tree5c5b45c973e80ed666a0066cbca7ffff6f7bf946
parent0199d3bd7f60109796e8f97ac1bb4df0a237f7f1
smp/spinlock: Do not define barrier() globally

It's not stricly related to spinlocks. If defined, a better
location should be found and the name collisions with other
barrier() defined in nb/intel solved.

Change-Id: Iae187b5bcc249c2a4bc7bee80d37e34c13d9e63d
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43810
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/arch/arm/include/armv4/arch/smp/spinlock.h
src/arch/x86/include/arch/smp/spinlock.h
src/include/smp/spinlock.h
src/soc/amd/picasso/psp_verstage/include/arch/smp/spinlock.h