diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-08-07 20:10:03 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-09-29 05:30:39 +0200 |
commit | 3265eba0bed7645cacd5e2cb3614d504b5ac29e6 (patch) | |
tree | 0b7df23f4fb36ebf24bb07cb872e67d58401fc3e /drivers/idle | |
parent | intel_idle: Change mode 755 => 644 (diff) | |
download | linux-3265eba0bed7645cacd5e2cb3614d504b5ac29e6.tar.xz linux-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.c | 2 |
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; |