diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-10-20 00:30:47 (GMT) |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2007-10-20 00:30:47 (GMT) |
commit | b2fff3f1b52989dae8dfc76d0a093967c3b75d06 (patch) | |
tree | e0704d9d0143f6a9562643bb8f7702b539fbfd57 /include/asm-blackfin/system.h | |
parent | df7c487250b17aa0caeee7d85f120330f1d31355 (diff) | |
download | linux-fsl-qoriq-b2fff3f1b52989dae8dfc76d0a093967c3b75d06.tar.xz |
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-blackfin/system.h')
-rw-r--r-- | include/asm-blackfin/system.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-blackfin/system.h b/include/asm-blackfin/system.h index 2b3d47d..4a92737 100644 --- a/include/asm-blackfin/system.h +++ b/include/asm-blackfin/system.h @@ -128,9 +128,7 @@ extern unsigned long irq_flags; #define mb() asm volatile ("" : : :"memory") #define rmb() asm volatile ("" : : :"memory") #define wmb() asm volatile ("" : : :"memory") -#define set_rmb(var, value) do { (void) 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) +#define set_mb(var, value) do { (void) xchg(&var, value); } while (0) #define read_barrier_depends() do { } while(0) |