From: Josh Triplett Date: Wed, 5 Sep 2012 06:23:06 +0000 (-0700) Subject: trace: Don't declare trace_*_rcuidle functions in modules X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~101^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ece55a4a3a04abe37118b1d4fb0b702eeb1de4c;p=pandora-kernel.git trace: Don't declare trace_*_rcuidle functions in modules Tracepoints declare a static inline trace_*_rcuidle variant of the trace function, to support safely generating trace events from the idle loop. Module code never actually uses that variant of trace functions, because modules don't run code that needs tracing with RCU idled. However, the declaration of those otherwise unused functions causes the module to reference rcu_idle_exit and rcu_idle_enter, which RCU does not export to modules. To avoid this, don't generate trace_*_rcuidle functions for tracepoints declared in module code. Link: http://lkml.kernel.org/r/20120905062306.GA14756@leaf Reported-by: Steven Rostedt Acked-by: Mathieu Desnoyers Acked-by: Paul E. McKenney Signed-off-by: Josh Triplett Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed