]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-v850/processor.h
Driver core: udev triggered device-<>driver binding
[linux-2.6-omap-h63xx.git] / include / asm-v850 / processor.h
index 2d31308935a00ab0263feab4b75ce8be482724be..979e3467f9afc14b2a9e1db9eb33ec400c693371 100644 (file)
 #ifndef __V850_PROCESSOR_H__
 #define __V850_PROCESSOR_H__
 
-#include <linux/config.h>
 #ifndef __ASSEMBLY__ /* <linux/thread_info.h> is not asm-safe.  */
 #include <linux/thread_info.h>
 #endif
 
+#include <linux/compiler.h>
 #include <asm/ptrace.h>
 #include <asm/entry.h>
 
@@ -107,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__ */