summaryrefslogtreecommitdiffstats
path: root/arch/metag
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2014-03-23 19:06:34 +0100
committerIngo Molnar <mingo@kernel.org>2014-08-14 12:48:08 +0200
commitd839bae4269aea46bff4133066a411cfba5c7c46 (patch)
treeaf4454c73ca7196041df6611d43642d60527a4e4 /arch/metag
parentc9ebe21b204f95e3aba84ee91c8b9347d73806f1 (diff)
downloadlinux-stable-d839bae4269aea46bff4133066a411cfba5c7c46.tar.gz
linux-stable-d839bae4269aea46bff4133066a411cfba5c7c46.tar.bz2
linux-stable-d839bae4269aea46bff4133066a411cfba5c7c46.zip
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>
Diffstat (limited to 'arch/metag')
0 files changed, 0 insertions, 0 deletions