diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-03-23 19:29:31 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-08-14 14:48:03 +0400 |
commit | f7d11e93ee97a37da1947b7c4e1794705a6f360c (patch) | |
tree | 1506947da50b64639fa758f8562b89cca739c45d /arch/arc/mm | |
parent | b93c7b8c5b281bf3646d6c5b6e05249b98cc5ab7 (diff) | |
download | linux-f7d11e93ee97a37da1947b7c4e1794705a6f360c.tar.xz |
locking,arch,arc: 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: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Link: http://lkml.kernel.org/r/20140508135851.886055622@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/arc/mm')
0 files changed, 0 insertions, 0 deletions