aboutsummaryrefslogtreecommitdiff
path: root/kernel/rtmutex-tester.c
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2013-02-04 13:36:13 -0500
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-02-04 12:18:20 -0800
commite4aa0da39b6a69f3442ebc33500c21176c5eb560 (patch)
tree0acc73d7aa64e1f825c515346622f0d5eb04126a /kernel/rtmutex-tester.c
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 <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/rtmutex-tester.c')
0 files changed, 0 insertions, 0 deletions