]> err.no Git - linux-2.6/commit
[PATCH] remove set_wmb - arch removal
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 14 Jul 2006 20:05:03 +0000 (16:05 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 15 Jul 2006 04:56:14 +0000 (21:56 -0700)
commit52393ccc0a53c130f31fbbdb8b40b2aadb55ee72
tree9f0bcb3ed29e9f7dbdb1cb8692cdbdfd7462c45d
parentf92213bae062cf88c099fbfd3040fef512b19905
[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>
23 files changed:
include/asm-alpha/barrier.h
include/asm-arm/system.h
include/asm-arm26/system.h
include/asm-cris/system.h
include/asm-frv/system.h
include/asm-h8300/system.h
include/asm-i386/system.h
include/asm-ia64/system.h
include/asm-m32r/system.h
include/asm-m68k/system.h
include/asm-m68knommu/system.h
include/asm-mips/system.h
include/asm-parisc/system.h
include/asm-powerpc/system.h
include/asm-ppc/system.h
include/asm-s390/system.h
include/asm-sh/system.h
include/asm-sh64/system.h
include/asm-sparc/system.h
include/asm-sparc64/system.h
include/asm-v850/system.h
include/asm-x86_64/system.h
include/asm-xtensa/system.h