diff options
Diffstat (limited to 'include/asm-sh/system.h')
-rw-r--r-- | include/asm-sh/system.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-sh/system.h b/include/asm-sh/system.h index 3bb876274..c3ca3b467 100644 --- a/include/asm-sh/system.h +++ b/include/asm-sh/system.h @@ -88,8 +88,7 @@ extern void __xchg_called_with_bad_pointer(void); #define mb() __asm__ __volatile__ ("": : :"memory") #define rmb() mb() #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_mb(var, value) do { xchg(&var, value); } while (0) #define set_wmb(var, value) do { var = value; wmb(); } while (0) /* Interrupt Control */ |