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