8426e1f6af
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> |
||
---|---|---|
.. | ||
COPYING.LIB | ||
Makefile | ||
ashldi3.S | ||
ashrdi3.S | ||
atomic.S | ||
atomic32.c | ||
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 |