linux/arch/cris/include
Peter Zijlstra 7179e30ef6 locking,arch,cris: 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.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: linux-cris-kernel@axis.com
Link: http://lkml.kernel.org/r/20140508135852.104572724@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-08-14 12:48:06 +02:00
..
arch-v10/arch Drop code for CRISv10 CPU simulator 2014-01-15 14:44:02 +01:00
arch-v32 cris: remove deprecated IRQF_DISABLED 2014-01-08 16:10:18 +01:00
asm locking,arch,cris: Fold atomic_ops 2014-08-14 12:48:06 +02:00
uapi CRIS changes for 3.14 2014-01-27 08:12:20 -08:00