diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-10-19 20:30:47 -0400 |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2007-10-19 20:30:47 -0400 |
commit | b2fff3f1b52989dae8dfc76d0a093967c3b75d06 (patch) | |
tree | e0704d9d0143f6a9562643bb8f7702b539fbfd57 /include/asm-m68knommu | |
parent | df7c487250b17aa0caeee7d85f120330f1d31355 (diff) |
include/asm-*/system.h: remove unused set_rmb(), set_wmb() macros
These don't appear anywhere else in the kernel anymore.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'include/asm-m68knommu')
-rw-r--r-- | include/asm-m68knommu/system.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-m68knommu/system.h b/include/asm-m68knommu/system.h index 1bd1142685e1..15b4c7d45c94 100644 --- a/include/asm-m68knommu/system.h +++ b/include/asm-m68knommu/system.h | |||
@@ -104,8 +104,7 @@ asmlinkage void resume(void); | |||
104 | #define mb() asm volatile ("" : : :"memory") | 104 | #define mb() asm volatile ("" : : :"memory") |
105 | #define rmb() asm volatile ("" : : :"memory") | 105 | #define rmb() asm volatile ("" : : :"memory") |
106 | #define wmb() asm volatile ("" : : :"memory") | 106 | #define wmb() asm volatile ("" : : :"memory") |
107 | #define set_rmb(var, value) do { xchg(&var, value); } while (0) | 107 | #define set_mb(var, value) do { xchg(&var, value); } while (0) |
108 | #define set_mb(var, value) set_rmb(var, value) | ||
109 | 108 | ||
110 | #ifdef CONFIG_SMP | 109 | #ifdef CONFIG_SMP |
111 | #define smp_mb() mb() | 110 | #define smp_mb() mb() |