summaryrefslogtreecommitdiff
path: root/arch/mn10300
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2014-03-26 16:56:43 (GMT)
committerIngo Molnar <mingo@kernel.org>2014-08-14 10:48:09 (GMT)
commitef31563e950c60bb41b97c2b61c32de874f3c949 (patch)
treea6be34acc06b0b927f3735985bf30eec9e2565e7 /arch/mn10300
parentd6dfe2509da935a15583cace7cd3837b1e8addef (diff)
downloadlinux-ef31563e950c60bb41b97c2b61c32de874f3c949.tar.xz
locking,arch,mips: 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: Linus Torvalds <torvalds@linux-foundation.org> Cc: Maciej W. Rozycki <macro@codesourcery.com> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Link: http://lkml.kernel.org/r/20140508135852.521548500@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/mn10300')
0 files changed, 0 insertions, 0 deletions