diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-03-23 16:29:31 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-08-14 12:48:03 +0200 |
commit | f7d11e93ee97a37da1947b7c4e1794705a6f360c (patch) | |
tree | 1506947da50b64639fa758f8562b89cca739c45d /Kbuild | |
parent | locking,arch,alpha: Fold atomic_ops (diff) | |
download | linux-f7d11e93ee97a37da1947b7c4e1794705a6f360c.tar.xz linux-f7d11e93ee97a37da1947b7c4e1794705a6f360c.zip |
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 'Kbuild')
0 files changed, 0 insertions, 0 deletions