summaryrefslogtreecommitdiff
path: root/arch/hexagon/include
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2014-03-23 17:19:25 (GMT)
committerIngo Molnar <mingo@kernel.org>2014-08-14 10:48:06 (GMT)
commit7179e30ef66a5bae91592ae7fbacf3df6c627dd6 (patch)
tree33a2cee5aeeb041cfa6a83be33b21a2453bfc291 /arch/hexagon/include
parentd325209b6000dcd13404ee946d2292e15a56718c (diff)
downloadlinux-7179e30ef66a5bae91592ae7fbacf3df6c627dd6.tar.xz
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/hexagon/include')
0 files changed, 0 insertions, 0 deletions