aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/idle/intel_idle.c
diff options
context:
space:
mode:
authorThomas Renninger <[email protected]>2011-01-03 16:50:43 +0000
committerIngo Molnar <[email protected]>2011-01-04 07:16:54 +0000
commit61a0d49c33c7fd57c14895e5b0760bd02b65ac1f (patch)
treec59416038143b2deadf2a69a3c3c5ea5c54c63ac /drivers/idle/intel_idle.c
parentMerge branch 'perf/test' of git://git.kernel.org/pub/scm/linux/kernel/git/acm... (diff)
downloadkernel-61a0d49c33c7fd57c14895e5b0760bd02b65ac1f.tar.gz
kernel-61a0d49c33c7fd57c14895e5b0760bd02b65ac1f.zip
perf: Do not export power_frequency, but power_start event
power_frequency moved to drivers/cpufreq/cpufreq.c which has to be compiled in, no need to export it. intel_idle can a be module though... Signed-off-by: Thomas Renninger <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Jean Pihet <[email protected]> Cc: Jean Pihet <[email protected]> Cc: Arjan van de Ven <[email protected]> Cc: [email protected] LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> LKML-Reference: <[email protected]>
Diffstat (limited to 'drivers/idle/intel_idle.c')
-rw-r--r--drivers/idle/intel_idle.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index c131d58bcb50..15783d5501a8 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -220,9 +220,7 @@ static int intel_idle(struct cpuidle_device *dev, struct cpuidle_state *state)
kt_before = ktime_get_real();
stop_critical_timings();
-#ifndef MODULE
trace_power_start(POWER_CSTATE, (eax >> 4) + 1, cpu);
-#endif
if (!need_resched()) {
__monitor((void *)&current_thread_info()->flags, 0, 0);