diff options
author | Peter Zijlstra <[email protected]> | 2014-03-26 17:59:04 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-08-14 12:48:10 +0200 |
commit | e69a0ef76627005e3e83d0e086e6bb1d247bb65b (patch) | |
tree | d84863b9074f02c23753de2bb40cd898db7ac95d /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | ef31563e950c60bb41b97c2b61c32de874f3c949 (diff) |
locking,arch,mn10300: 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 <[email protected]>
Cc: David Howells <[email protected]>
Cc: Koichi Yasutake <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[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