diff options
Diffstat (limited to 'include/asm-v850/system.h')
-rw-r--r-- | include/asm-v850/system.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-v850/system.h b/include/asm-v850/system.h index 0de2481fd990..a34ddfafd561 100644 --- a/include/asm-v850/system.h +++ b/include/asm-v850/system.h | |||
@@ -66,8 +66,7 @@ static inline int irqs_disabled (void) | |||
66 | #define rmb() mb () | 66 | #define rmb() mb () |
67 | #define wmb() mb () | 67 | #define wmb() mb () |
68 | #define read_barrier_depends() ((void)0) | 68 | #define read_barrier_depends() ((void)0) |
69 | #define set_rmb(var, value) do { xchg (&var, value); } while (0) | 69 | #define set_mb(var, value) do { xchg (&var, value); } while (0) |
70 | #define set_mb(var, value) set_rmb (var, value) | ||
71 | 70 | ||
72 | #define smp_mb() mb () | 71 | #define smp_mb() mb () |
73 | #define smp_rmb() rmb () | 72 | #define smp_rmb() rmb () |