X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-h8300%2Fsystem.h;h=5084a9d4292254f28a638302cc3bc0eb9b609069;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=dfe96c7121cfe3ad6742fbb93ebea1bb6aea85be;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/include/asm-h8300/system.h b/include/asm-h8300/system.h index dfe96c712..5084a9d42 100644 --- a/include/asm-h8300/system.h +++ b/include/asm-h8300/system.h @@ -1,11 +1,8 @@ #ifndef _H8300_SYSTEM_H #define _H8300_SYSTEM_H -#include /* get configuration macros */ #include -#define prepare_to_switch() do { } while(0) - /* * switch_to(n) should switch tasks to task ptr, first checking that * ptr isn't the current task, in which case it does nothing. This @@ -87,7 +84,6 @@ asmlinkage void resume(void); #define wmb() asm volatile ("" : : :"memory") #define set_rmb(var, value) do { xchg(&var, value); } while (0) #define set_mb(var, value) set_rmb(var, value) -#define set_wmb(var, value) do { var = value; wmb(); } while (0) #ifdef CONFIG_SMP #define smp_mb() mb()