diff options
author | Steven Rostedt | 2006-07-14 22:05:03 +0200 |
---|---|---|
committer | Linus Torvalds | 2006-07-15 06:56:14 +0200 |
commit | 52393ccc0a53c130f31fbbdb8b40b2aadb55ee72 (patch) | |
tree | 9f0bcb3ed29e9f7dbdb1cb8692cdbdfd7462c45d /include/asm-xtensa | |
parent | [PATCH] remove set_wmb - doc update (diff) | |
download | kernel-qcow2-linux-52393ccc0a53c130f31fbbdb8b40b2aadb55ee72.tar.gz kernel-qcow2-linux-52393ccc0a53c130f31fbbdb8b40b2aadb55ee72.tar.xz kernel-qcow2-linux-52393ccc0a53c130f31fbbdb8b40b2aadb55ee72.zip |
[PATCH] remove set_wmb - arch removal
set_wmb should not be used in the kernel because it just confuses the
code more and has no benefit. Since it is not currently used in the
kernel this patch removes it so that new code does not include it.
All archs define set_wmb(var, value) to do { var = value; wmb(); }
while(0) except ia64 and sparc which use a mb() instead. But this is
still moot since it is not used anyway.
Hasn't been tested on any archs but x86 and x86_64 (and only compiled
tested)
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-xtensa')
-rw-r--r-- | include/asm-xtensa/system.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-xtensa/system.h b/include/asm-xtensa/system.h index f986170bd2a1..932bda92a21c 100644 --- a/include/asm-xtensa/system.h +++ b/include/asm-xtensa/system.h @@ -99,7 +99,6 @@ static inline void disable_coprocessor(int i) #endif #define set_mb(var, value) do { var = value; mb(); } while (0) -#define set_wmb(var, value) do { var = value; wmb(); } while (0) #if !defined (__ASSEMBLY__) |