Files
android_kernel_xiaomi_sm8450/arch/ia64/include/asm
Peter Zijlstra cc102507fa locking/atomic, arch/ia64: Implement atomic{,64}_fetch_{add,sub,and,or,xor}()
Implement FETCH-OP atomic primitives, these are very similar to the
existing OP-RETURN primitives we already have, except they return the
value of the atomic variable _before_ modification.

This is especially useful for irreversible operations -- such as
bitops (because it becomes impossible to reconstruct the state prior
to modification).

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-arch@vger.kernel.org
Cc: linux-ia64@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-06-16 10:48:25 +02:00
..
2015-06-10 14:26:32 -07:00
2016-04-18 12:45:54 +02:00
2014-08-26 13:45:52 -04:00
2016-01-12 20:46:55 +02:00
2014-04-18 14:20:35 +02:00
2013-02-26 02:46:08 -05:00
2015-06-10 14:26:32 -07:00
2015-06-10 14:26:32 -07:00
2016-03-17 15:09:34 -07:00
2016-03-31 13:35:08 +02:00
2015-06-10 14:26:32 -07:00
2012-03-28 18:30:02 +01:00
2010-06-09 11:12:36 +02:00
2012-03-28 18:30:02 +01:00
2010-05-18 14:45:52 -07:00
2015-06-10 14:26:32 -07:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2013-01-03 15:57:13 -08:00
2014-08-26 13:45:52 -04:00