Commit 3265eba0bed7645cacd5e2cb3614d504b5ac29e6

Authored by Namhyung Kim
Committed by Len Brown
1 parent 68f160125f

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/idle/intel_idle.c
... ... @@ -83,7 +83,7 @@
83 83 /* Reliable LAPIC Timer States, bit 1 for C1 etc. */
84 84 static unsigned int lapic_timer_reliable_states;
85 85  
86   -static struct cpuidle_device *intel_idle_cpuidle_devices;
  86 +static struct cpuidle_device __percpu *intel_idle_cpuidle_devices;
87 87 static int intel_idle(struct cpuidle_device *dev, struct cpuidle_state *state);
88 88  
89 89 static struct cpuidle_state *cpuidle_state_table;