linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / asm-sh / processor.h
index eeb0f48..fa5bd2d 100644 (file)
@@ -9,7 +9,6 @@
 #define __ASM_SH_PROCESSOR_H
 #ifdef __KERNEL__
 
-#include <linux/compiler.h>
 #include <asm/page.h>
 #include <asm/types.h>
 #include <asm/cache.h>
@@ -264,7 +263,7 @@ extern unsigned long get_wchan(struct task_struct *p);
 #define KSTK_ESP(tsk)  ((tsk)->thread.sp)
 
 #define cpu_sleep()    __asm__ __volatile__ ("sleep" : : : "memory")
-#define cpu_relax()    barrier()
+#define cpu_relax()    do { } while (0)
 
 #endif /* __KERNEL__ */
 #endif /* __ASM_SH_PROCESSOR_H */