Files
android_kernel_xiaomi_sm8450/arch/powerpc/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
..
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-08-24 20:26:06 +10:00
2012-07-10 19:18:59 +10:00
2012-03-28 18:30:02 +01:00
2011-07-26 16:49:47 -07:00
2012-03-28 18:30:02 +01:00
2011-11-08 14:51:46 +11:00
2012-03-20 21:48:30 +08:00
2012-09-10 09:59:16 +10:00
2008-08-18 21:40:03 +02:00
2008-08-04 13:18:17 +10:00
2011-12-08 14:02:23 +11:00
2011-05-22 08:47:53 -04:00
2012-04-08 12:54:33 +03:00
2010-06-09 11:12:36 +02:00
2011-07-26 16:49:47 -07:00
2012-04-30 15:37:16 +10:00
2010-05-05 09:11:10 -04:00
2011-12-07 18:02:02 +11:00
2011-03-31 11:26:23 -03:00
2010-10-26 16:52:08 -07:00
2011-03-31 11:26:23 -03:00
2012-09-17 16:31:51 +10:00
2011-07-26 16:49:47 -07:00
2009-04-07 15:18:58 +10:00
2009-12-09 17:10:37 +11:00
2011-09-20 09:19:40 +10:00
2010-03-05 03:04:08 -06:00
2011-04-20 17:01:19 +10:00
2012-09-12 14:57:08 -05:00
2012-09-17 16:31:51 +10:00
2011-03-31 11:26:23 -03:00
2012-06-02 10:44:11 -04:00
2008-09-06 19:30:15 +01:00
2011-03-31 11:26:23 -03:00
2012-07-11 14:18:40 +10:00
2011-05-06 13:32:35 +10:00