Files
linux/arch/microblaze/include/asm
Shaohua Li e79bee24fd atomic: implement generic atomic_dec_if_positive()
The x86 implementation of atomic_dec_if_positive is quite generic, so make
it available to all architectures.

This is needed for "swap: add a simple detector for inappropriate swapin
readahead".

[akpm@linux-foundation.org: do the "#define foo foo" trick in the conventional manner]
Signed-off-by: Shaohua Li <shli@fusionio.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Rik van Riel <riel@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-10-09 16:22:46 +09:00
..
2009-03-27 14:25:27 +01:00
2012-03-23 09:28:13 +01:00
2012-03-23 09:28:13 +01:00
2012-10-04 15:19:33 +02:00
2009-03-27 14:25:33 +01:00
2009-03-27 14:25:35 +01:00
2009-05-22 09:50:46 +02:00
2010-08-04 10:45:17 +02:00
2010-06-09 11:12:36 +02:00
2011-07-26 16:49:47 -07:00
2012-10-04 14:52:49 +02:00
2012-10-04 15:19:33 +02:00
2010-10-21 15:51:20 +10:00
2009-03-27 14:25:44 +01:00
2010-10-21 15:51:25 +10:00
2009-03-27 14:25:15 +01:00
2009-07-06 10:26:57 +02:00
2009-03-27 14:25:39 +01:00
2011-01-16 14:29:21 +01:00
2010-04-01 08:38:24 +02:00
2010-08-04 10:22:35 +02:00