diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-03-26 17:59:04 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-08-14 12:48:10 +0200 |
commit | e69a0ef76627005e3e83d0e086e6bb1d247bb65b (patch) | |
tree | d84863b9074f02c23753de2bb40cd898db7ac95d /arch/parisc | |
parent | locking,arch,mips: Fold atomic_ops (diff) | |
download | linux-e69a0ef76627005e3e83d0e086e6bb1d247bb65b.tar.xz linux-e69a0ef76627005e3e83d0e086e6bb1d247bb65b.zip |
locking,arch,mn10300: 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: David Howells <dhowells@redhat.com>
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: linux-am33-list@redhat.com
Link: http://lkml.kernel.org/r/20140508135852.605324173@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions