aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2013-02-04 13:36:13 -0500
committerPaul E. McKenney <[email protected]>2013-02-04 12:18:20 -0800
commite4aa0da39b6a69f3442ebc33500c21176c5eb560 (patch)
tree0acc73d7aa64e1f825c515346622f0d5eb04126a /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent40393f525fe698e2b639cf1851ef0a40e7e158a8 (diff)
rcu: Allow rcutorture to be built at low optimization levels
The uses of trace_clock_local() are dead code when CONFIG_RCU_TRACE=n, but some compilers might nevertheless generate code calling this function. This commit therefore ensures that trace_clock_local() is invoked only when CONFIG_RCU_TRACE=y. Reported-by: Tetsuo Handa <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions