diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-03-26 21:11:31 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-08-14 14:48:11 +0400 |
commit | af095dd60bdc52b11c186c3151e8e38d6faa094c (patch) | |
tree | 011abfbf513be8217c8559c53becab9f7181914b /arch/sh/include/asm/atomic-irq.h | |
parent | 15e3f6d782fc6ff7e004b40642ad895b91ae78bf (diff) | |
download | linux-af095dd60bdc52b11c186c3151e8e38d6faa094c.tar.xz |
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/include/asm/atomic-irq.h')
0 files changed, 0 insertions, 0 deletions