summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2014-03-26 18:11:31 +0100
committerIngo Molnar <mingo@kernel.org>2014-08-14 12:48:11 +0200
commitaf095dd60bdc52b11c186c3151e8e38d6faa094c (patch)
tree011abfbf513be8217c8559c53becab9f7181914b /arch/sh
parentlocking,arch,parisc: Fold atomic_ops (diff)
downloadlinux-af095dd60bdc52b11c186c3151e8e38d6faa094c.tar.xz
linux-af095dd60bdc52b11c186c3151e8e38d6faa094c.zip
locking,arch,powerpc: 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. Requires asm_op because PPC asm is weird :-) Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: linuxppc-dev@lists.ozlabs.org Link: http://lkml.kernel.org/r/20140508135852.713980957@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions