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> |
||
---|---|---|
.. | ||
ashldi3.S | ||
ashrdi3.S | ||
atomic32.c | ||
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 |