[PATCH] atomic: dec_and_lock use atomic primitives
authorNick Piggin <nickpiggin@yahoo.com.au>
Sun, 8 Jan 2006 09:02:19 +0000 (01:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:48 +0000 (20:13 -0800)
commita57004e1afb6ee03c509f1b1ec74a000682ab93b
tree846112d14bc2ea20ebaf069c83909485fc91655c
parent8382bf2e72d16d0532e351299121ccd3bca0fdd8
[PATCH] atomic: dec_and_lock use atomic primitives

Convert atomic_dec_and_lock to use new atomic primitives.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
lib/dec_and_lock.c