aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2014-03-23 19:08:25 +0100
committerIngo Molnar <[email protected]>2014-08-14 12:48:09 +0200
commitd6dfe2509da935a15583cace7cd3837b1e8addef (patch)
treed36ac9c387b35d26114fabfaf5dd3dcff4f38112 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentd839bae4269aea46bff4133066a411cfba5c7c46 (diff)
locking,arch,metag: 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]> Acked-by: James Hogan <[email protected]> Cc: Linus Torvalds <[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