X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-h8300%2Fsystem.h;h=7807018f85002cd201db14dc74926f469b3c11b5;hb=df3d80f5a5c74168be42788364d13cf6c83c7b9c;hp=134e0929fce5500939b4d4bee7d34bd03d400890;hpb=34641a58a227e498adf471ab016bd054cc399d7e;p=linux-2.6 diff --git a/include/asm-h8300/system.h b/include/asm-h8300/system.h index 134e0929fc..7807018f85 100644 --- a/include/asm-h8300/system.h +++ b/include/asm-h8300/system.h @@ -84,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() @@ -99,7 +98,6 @@ asmlinkage void resume(void); #endif #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) -#define tas(ptr) (xchg((ptr),1)) struct __xchg_dummy { unsigned long a[100]; }; #define __xg(x) ((volatile struct __xchg_dummy *)(x))