summaryrefslogtreecommitdiff
path: root/src/include/smp
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-09-01 19:01:41 +0200
committerPatrick Georgi <pgeorgi@google.com>2016-09-05 12:28:32 +0200
commit8ffd050cf0ecfbeb647cf985c60f67c24faab181 (patch)
treeb7a507607439e7dcd113665335a0bd827f067c49 /src/include/smp
parenta15dde0719be9f580038a6df32ff18fb017886bf (diff)
src/include: Improve code formatting
Change-Id: Ic8ffd26e61c0c3f27872699bb6aa9c39204155b7 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16390 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/include/smp')
-rw-r--r--src/include/smp/spinlock.h10
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 */