From: Steven Rostedt Date: Mon, 4 Feb 2013 18:36:13 +0000 (-0500) Subject: rcu: Allow rcutorture to be built at low optimization levels X-Git-Tag: v3.9-rc1~175^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4aa0da39b6a69f3442ebc33500c21176c5eb560;p=pandora-kernel.git 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 Signed-off-by: Paul E. McKenney Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed