diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-03-23 18:20:30 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-08-14 12:48:07 +0200 |
commit | 08be2dab191431f23f5f98ba2db76513d0d853e7 (patch) | |
tree | 27c7b031d1e326bb94a7dd92c477be0bfc7990b8 /arch/m32r | |
parent | locking,arch,hexagon: Fold atomic_ops (diff) | |
download | linux-08be2dab191431f23f5f98ba2db76513d0d853e7.tar.xz linux-08be2dab191431f23f5f98ba2db76513d0d853e7.zip |
locking,arch,ia64: 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: Fenghua Yu <fenghua.yu@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-ia64@vger.kernel.org
Link: http://lkml.kernel.org/r/20140508135852.245224472@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions