summaryrefslogtreecommitdiffstats
path: root/arch/openrisc
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2014-03-23 16:29:31 +0100
committerIngo Molnar <mingo@kernel.org>2014-08-14 12:48:03 +0200
commitf7d11e93ee97a37da1947b7c4e1794705a6f360c (patch)
tree1506947da50b64639fa758f8562b89cca739c45d /arch/openrisc
parentb93c7b8c5b281bf3646d6c5b6e05249b98cc5ab7 (diff)
downloadlinux-f7d11e93ee97a37da1947b7c4e1794705a6f360c.tar.bz2
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/openrisc')
0 files changed, 0 insertions, 0 deletions