commit | e4aa0da39b6a69f3442ebc33500c21176c5eb560 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <rostedt@goodmis.org> | Mon Feb 04 13:36:13 2013 -0500 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Mon Feb 04 12:18:20 2013 -0800 |
tree | 0acc73d7aa64e1f825c515346622f0d5eb04126a | |
parent | 40393f525fe698e2b639cf1851ef0a40e7e158a8 [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>