x86 cpufreq, perf: Make trace_power_frequency cpufreq driver independent
[deliverable/linux.git] / drivers / cpuidle / cpuidle.c
index 199488576a05c65bac2740d33600fc1c6fd5511f..dbefe15bd582804497cbca76b6f3ce4fae6e28da 100644 (file)
@@ -95,7 +95,7 @@ static void cpuidle_idle_call(void)
        /* give the governor an opportunity to reflect on the outcome */
        if (cpuidle_curr_governor->reflect)
                cpuidle_curr_governor->reflect(dev);
-       trace_power_end(0);
+       trace_power_end(smp_processor_id());
 }
 
 /**
This page took 0.023338 seconds and 5 git commands to generate.