diff options
Diffstat (limited to 'src/include/smp/spinlock.h')
-rw-r--r-- | src/include/smp/spinlock.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/smp/spinlock.h b/src/include/smp/spinlock.h index 87298b1c48..f181f4512d 100644 --- a/src/include/smp/spinlock.h +++ b/src/include/smp/spinlock.h @@ -6,12 +6,12 @@ #else /* !CONFIG_SMP */ #define DECLARE_SPIN_LOCK(x) -#define barrier() do {} while(0) +#define barrier() do {} while (0) #define spin_is_locked(lock) 0 -#define spin_unlock_wait(lock) do {} while(0) -#define spin_lock(lock) do {} while(0) -#define spin_unlock(lock) do {} while(0) -#define cpu_relax() do {} while(0) +#define spin_unlock_wait(lock) do {} while (0) +#define spin_lock(lock) do {} while (0) +#define spin_unlock(lock) do {} while (0) +#define cpu_relax() do {} while (0) #endif #endif /* SMP_SPINLOCK_H */ |