[PATCH] sparc32: add atomic_sub_and_test()
commit35a764036ae511f9269e3ed6da91e1db613272be
authorWilliam Lee Irwin III <wli@holomorphy.com>
Wed, 20 Oct 2004 01:14:28 +0000 (19 18:14 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 20 Oct 2004 01:14:28 +0000 (19 18:14 -0700)
tree1da7f0427f3eb1b5ee9888be81368ac9b86a61f0
parentd04b0ddcc3ade1b8f19ac11733db8907b3707631
[PATCH] sparc32: add atomic_sub_and_test()

Add atomic_sub_and_test() to sparc32, implemented in terms of
atomic_sub_return(), so reiser4 can be simultaneously microoptimized for
x86 and made to pass compilation testing on sparc32.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-sparc/atomic.h