Files
linux/arch/m68k/include/asm
Peter Zijlstra e39d88ea3c locking/atomic, arch/m68k: Implement atomic_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: Geert Uytterhoeven <geert@linux-m68k.org>
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: linux-arch@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-m68k@lists.linux-m68k.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-06-16 10:48:26 +02:00
..
2014-04-18 14:20:37 +02:00
2011-12-10 19:52:48 +01:00
2011-03-31 11:26:23 -03:00
2015-05-13 10:55:42 +02:00
2013-08-14 11:46:30 +02:00
2013-02-26 02:46:08 -05:00
2013-09-26 09:54:16 +02:00
2013-11-13 20:21:46 +01:00
2016-05-28 15:48:57 -04:00
2013-12-08 11:01:47 +01:00
2015-09-28 09:59:45 +02:00
2016-02-29 09:51:44 +01:00
2014-09-29 09:56:19 +10:00
2016-02-29 09:51:44 +01:00
2011-12-10 19:52:47 +01:00
2015-11-23 09:58:30 +01:00
2011-12-10 19:52:47 +01:00
2016-02-29 09:51:44 +01:00
2015-03-15 10:23:30 +01:00
2016-02-29 09:51:44 +01:00
2011-03-16 19:10:41 +01:00
2016-05-20 17:58:30 -07:00
2015-01-13 15:24:03 +02:00
2014-06-06 16:08:11 -07:00
2012-03-28 18:30:02 +01:00
2015-01-13 15:23:28 +02:00
2016-04-07 11:44:44 +02:00
2012-04-22 20:16:50 +02:00