diff options
author | 2014-03-23 16:38:18 +0100 | |
---|---|---|
committer | 2014-08-14 12:48:04 +0200 | |
commit | aee9a55452f0371258e18b41649ce650ff344090 (patch) | |
tree | 725e8ea965ce34c5cbe38c96a09079e275de76cc /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | locking,arch,arc: Fold atomic_ops (diff) | |
download | wireguard-linux-aee9a55452f0371258e18b41649ce650ff344090.tar.xz wireguard-linux-aee9a55452f0371258e18b41649ce650ff344090.zip |
locking,arch,arm: 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 the asm_op because of eor.
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: Chen Gang <gang.chen@asianux.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Nicolas Pitre <nico@linaro.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Albin Tonnerre <albin.tonnerre@arm.com>
Cc: Victor Kamensky <victor.kamensky@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/20140508135851.939725247@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions