X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-sh64%2Fprocessor.h;h=eb2bee4b47b95e341389ad6cc48845945e0ad28f;hb=b3d9d6be035a7d1cc6740cee695301bf37caedcd;hp=1bf252dad8249e5d7f3078dde23f440729d59fad;hpb=944d79559d154c12becde0dab327016cf438f46c;p=linux-2.6 diff --git a/include/asm-sh64/processor.h b/include/asm-sh64/processor.h index 1bf252dad8..eb2bee4b47 100644 --- a/include/asm-sh64/processor.h +++ b/include/asm-sh64/processor.h @@ -22,6 +22,7 @@ #include #include #include +#include /* * Default implementation of macro that returns current @@ -279,7 +280,7 @@ extern unsigned long get_wchan(struct task_struct *p); #define KSTK_EIP(tsk) ((tsk)->thread.pc) #define KSTK_ESP(tsk) ((tsk)->thread.sp) -#define cpu_relax() do { } while (0) +#define cpu_relax() barrier() #endif /* __ASSEMBLY__ */ #endif /* __ASM_SH64_PROCESSOR_H */