diff options
author | Peter Zijlstra | 2014-03-23 16:57:20 +0100 |
---|---|---|
committer | Ingo Molnar | 2014-08-14 12:48:04 +0200 |
commit | 92ba1f530b4f90db78eb45f4b6598e75939146bd (patch) | |
tree | ee829d6e3a54262f4c75ea25f00977989651ad35 /arch/avr32 | |
parent | aee9a55452f0371258e18b41649ce650ff344090 (diff) |
locking,arch,arm64: 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 due to eor.
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chen Gang <gang.chen@asianux.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/20140508135851.995123148@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/avr32')
0 files changed, 0 insertions, 0 deletions