diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-03-23 18:19:25 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-08-14 12:48:06 +0200 |
commit | 7179e30ef66a5bae91592ae7fbacf3df6c627dd6 (patch) | |
tree | 33a2cee5aeeb041cfa6a83be33b21a2453bfc291 /arch/cris/mm | |
parent | d325209b6000dcd13404ee946d2292e15a56718c (diff) |
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>
Diffstat (limited to 'arch/cris/mm')
0 files changed, 0 insertions, 0 deletions