1 /* SPDX-License-Identifier: GPL-2.0-only */
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)
17 #endif /* SMP_SPINLOCK_H */