soc/intel/xeon_sp/spr: Drop microcode constraints
[coreboot2.git] / src / include / smp / spinlock.h
blob90eae6bf0e428694faac7c6c51c144465a3873ed
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef SMP_SPINLOCK_H
4 #define SMP_SPINLOCK_H
6 #if ENV_SUPPORTS_SMP
7 #include <arch/smp/spinlock.h>
8 #else /* !CONFIG_SMP */
10 #define DECLARE_SPIN_LOCK(x)
11 #define spin_is_locked(lock) 0
12 #define spin_unlock_wait(lock) do {} while (0)
13 #define spin_lock(lock) do {} while (0)
14 #define spin_unlock(lock) do {} while (0)
15 #endif
17 #endif /* SMP_SPINLOCK_H */