aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2014-03-26 17:56:43 +0100
committerIngo Molnar <[email protected]>2014-08-14 12:48:09 +0200
commitef31563e950c60bb41b97c2b61c32de874f3c949 (patch)
treea6be34acc06b0b927f3735985bf30eec9e2565e7 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentd6dfe2509da935a15583cace7cd3837b1e8addef (diff)
locking,arch,mips: 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: Linus Torvalds <[email protected]> Cc: Maciej W. Rozycki <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: Ralf Baechle <[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