intel_idle: add missing __percpu markup
authorNamhyung Kim <namhyung@gmail.com>
Sat, 7 Aug 2010 18:10:03 +0000 (03:10 +0900)
committerLen Brown <len.brown@intel.com>
Wed, 29 Sep 2010 03:30:39 +0000 (23:30 -0400)
intel_idle_cpuidle_devices is a percpu pointer
but was missing __percpu markup.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/idle/intel_idle.c

index a10152b..96bf380 100644 (file)
@@ -83,7 +83,7 @@ static unsigned int mwait_substates;
 /* Reliable LAPIC Timer States, bit 1 for C1 etc.  */
 static unsigned int lapic_timer_reliable_states;
 
-static struct cpuidle_device *intel_idle_cpuidle_devices;
+static struct cpuidle_device __percpu *intel_idle_cpuidle_devices;
 static int intel_idle(struct cpuidle_device *dev, struct cpuidle_state *state);
 
 static struct cpuidle_state *cpuidle_state_table;