Peter Zijlstra d839bae426 locking,arch,m68k: Fold atomic_ops
Many of the atomic op implementations are the same except for one
instruction; fold the lot into a few CPP macros and reduce LoC.

This also prepares for easy addition of new ops.

Requires asm_op due to eor.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: linux-m68k@lists.linux-m68k.org
Link: http://lkml.kernel.org/r/20140509091646.GO30445@twins.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-08-14 12:48:08 +02:00
..
2014-08-14 12:48:08 +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
2013-04-05 13:28:27 +01: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
2013-12-08 11:01:47 +01:00
2011-03-31 11:26:23 -03:00
2011-12-10 19:52:47 +01:00
2014-01-16 09:27:02 +01:00
2011-12-10 19:52:47 +01:00
2011-04-10 17:01:05 +02:00
2011-04-10 17:01:05 +02:00
2013-03-04 11:08:50 +10:00
2011-03-16 19:10:41 +01:00
2009-04-02 01:05:31 +00:00
2014-06-06 16:08:11 -07:00
2012-03-28 18:30:02 +01:00
2012-04-22 20:16:50 +02:00