]> git.baikalelectronics.ru Git - kernel.git/commit
mips: fix bitops
authorNick Piggin <npiggin@suse.de>
Thu, 18 Oct 2007 10:06:52 +0000 (03:06 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:29 +0000 (14:37 -0700)
commit23332cc9de8e9db83025abd5b9f0ef89a4bacd19
tree180bef314aa7cde94b1ff1cb6ca72bea61125e60
parent09feed72891f249b13c44fff83e415e26bfa78b8
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