mips: fix bitops
commitc8f30ae54714abf494d79826d90b5e4844fbf355
authorNick Piggin <npiggin@suse.de>
Thu, 18 Oct 2007 10:06:52 +0000 (18 03:06 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:29 +0000 (18 14:37 -0700)
tree180bef314aa7cde94b1ff1cb6ca72bea61125e60
parent87371e4fa4901d84ce83356b909b83f31f40758f
mips: fix bitops

Documentation/atomic_ops.txt defines these primitives must contain a memory
barrier both before and after their memory operation.  This is consistent with
the atomic ops implementation on mips.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-mips/bitops.h