summaryrefslogtreecommitdiffstats
path: root/include/asm-v850/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-v850/processor.h')
-rw-r--r--include/asm-v850/processor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-v850/processor.h b/include/asm-v850/processor.h
index 6965b66ccaed..979e3467f9af 100644
--- a/include/asm-v850/processor.h
+++ b/include/asm-v850/processor.h
@@ -18,6 +18,7 @@
#include <linux/thread_info.h>
#endif
+#include <linux/compiler.h>
#include <asm/ptrace.h>
#include <asm/entry.h>
@@ -106,7 +107,7 @@ unsigned long get_wchan (struct task_struct *p);
#define KSTK_ESP(task) task_sp (task)
-#define cpu_relax() ((void)0)
+#define cpu_relax() barrier()
#else /* __ASSEMBLY__ */
OpenPOWER on IntegriCloud