linux/arch/sparc/lib
Nick Piggin 8426e1f6af [PATCH] atomic: inc_not_zero
Introduce an atomic_inc_not_zero operation.  Make this a special case of
atomic_add_unless because lockless pagecache actually wants
atomic_inc_not_negativeone due to its offset refcount.

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>
2005-11-13 18:14:16 -08:00
..
ashldi3.S
ashrdi3.S
atomic32.c [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
atomic.S
bitext.c
bitops.S
blockops.S
checksum.S
copy_user.S
COPYING.LIB
divdi3.S
locks.S
lshrdi3.S
Makefile
memcmp.S
memcpy.S
memscan.S
memset.S
mul.S
muldi3.S
rem.S
rwsem.S
sdiv.S
strlen_user.S
strlen.S
strncmp.S
strncpy_from_user.S
udiv.S
udivdi3.S
umul.S
urem.S