diff options
author | Peter Zijlstra <[email protected]> | 2014-03-26 18:11:31 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-08-14 12:48:11 +0200 |
commit | af095dd60bdc52b11c186c3151e8e38d6faa094c (patch) | |
tree | 011abfbf513be8217c8559c53becab9f7181914b /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 15e3f6d782fc6ff7e004b40642ad895b91ae78bf (diff) |
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 <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Mahesh Salgaonkar <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions