]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mips: lock bitops
authorNick Piggin <npiggin@suse.de>
Thu, 18 Oct 2007 10:06:53 +0000 (03:06 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:29 +0000 (14:37 -0700)
commit728697cd6b3c8c12d0ad5ebdce5616ef5d25bf18
tree48d08bf438bbc41ed7c2b32387ca91eed2b20a7f
parentc8f30ae54714abf494d79826d90b5e4844fbf355
mips: lock bitops

mips can avoid one mb when acquiring a lock with test_and_set_bit_lock.

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