summaryrefslogtreecommitdiff
path: root/drivers/idle
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-08-08 03:10:03 +0900
committerLen Brown <len.brown@intel.com>2010-09-28 23:30:39 -0400
commit3265eba0bed7645cacd5e2cb3614d504b5ac29e6 (patch)
tree0b7df23f4fb36ebf24bb07cb872e67d58401fc3e /drivers/idle
parent68f160125f0655c21a1c9f896ddff97d98012cb0 (diff)
downloadkernel-common-3265eba0bed7645cacd5e2cb3614d504b5ac29e6.tar.gz
kernel-common-3265eba0bed7645cacd5e2cb3614d504b5ac29e6.tar.bz2
kernel-common-3265eba0bed7645cacd5e2cb3614d504b5ac29e6.zip
intel_idle: add missing __percpu markup
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>
Diffstat (limited to 'drivers/idle')
-rw-r--r--drivers/idle/intel_idle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index a10152bb1427..96bf38097996 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -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;