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 a10152bb142738f2dc331960e7afcef980820a8e..96bf3809799606c346931b99cacf8e0437a5ece4 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;