summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2014-03-26 18:31:12 +0100
committerIngo Molnar <mingo@kernel.org>2014-08-14 12:48:14 +0200
commitd4608dd5b4ec13855680b89f719d8d4b2da92411 (patch)
tree7660d636c571ad0993f890085a88e829d7e0b9a0 /include
parentlocking,arch,sparc: Fold atomic_ops (diff)
downloadlinux-d4608dd5b4ec13855680b89f719d8d4b2da92411.tar.xz
linux-d4608dd5b4ec13855680b89f719d8d4b2da92411.zip
locking,arch,xtensa: 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> Cc: Chris Zankel <chris@zankel.net> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Max Filippov <jcmvbkbc@gmail.com> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: linux-xtensa@linux-xtensa.org Link: http://lkml.kernel.org/r/20140508135852.879575796@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions