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
..
2005-11-13 18:14:16 -08:00
2005-11-10 11:23:53 +11:00
2005-11-08 12:20:34 +11:00
2005-11-06 16:56:47 -08:00
2005-11-07 14:42:09 +11:00
2005-10-27 20:50:54 +10:00
2005-11-10 16:00:32 +11:00
2005-11-08 11:17:40 +11:00
2005-11-03 16:03:07 +11:00
2005-11-03 14:41:19 +11:00
2005-10-31 13:37:12 +11:00
2005-10-31 13:37:12 +11:00
2005-11-03 16:24:25 +11:00
2005-11-10 11:23:46 +11:00
2005-11-07 13:18:13 +11:00
2005-11-08 11:17:40 +11:00
2005-11-03 16:02:23 +11:00
2005-11-01 14:36:55 +11:00
2005-11-06 16:56:47 -08:00
2005-11-04 10:20:27 +11:00
2005-11-06 16:56:47 -08:00
2005-10-27 16:45:50 +10:00
2005-11-03 16:59:17 +11:00
2005-10-31 13:37:12 +11:00