summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-08-07 22:10:03 +0400
committerLen Brown <len.brown@intel.com>2010-09-29 07:30:39 +0400
commit3265eba0bed7645cacd5e2cb3614d504b5ac29e6 (patch)
tree0b7df23f4fb36ebf24bb07cb872e67d58401fc3e /drivers
parent68f160125f0655c21a1c9f896ddff97d98012cb0 (diff)
downloadlinux-3265eba0bed7645cacd5e2cb3614d504b5ac29e6.tar.xz
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')
-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;