summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/smp/spinlock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/smp/spinlock.h b/src/include/smp/spinlock.h
index 29f348dea0..aedd85b0ab 100644
--- a/src/include/smp/spinlock.h
+++ b/src/include/smp/spinlock.h
@@ -19,6 +19,7 @@ typedef struct { int gcc_is_buggy; } spinlock_t;
#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 */