[CPUFREQ] acpi-cpufreq: add missing __percpu markup
authorNamhyung Kim <namhyung@gmail.com>
Fri, 13 Aug 2010 14:00:11 +0000 (23:00 +0900)
committerDave Jones <davej@redhat.com>
Thu, 30 Sep 2010 20:14:22 +0000 (16:14 -0400)
acpi_perf_data is a percpu pointer but was missing __percpu markup.
Add it.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c

index 246cd3afbb5f47ab98f11e24f213ae25631e4fc7..cd8da247dda14c8f638ba1b8df2a7b53aacd1212 100644 (file)
@@ -72,7 +72,7 @@ struct acpi_cpufreq_data {
 static DEFINE_PER_CPU(struct acpi_cpufreq_data *, acfreq_data);
 
 /* acpi_perf_data is a pointer to percpu data. */
-static struct acpi_processor_performance *acpi_perf_data;
+static struct acpi_processor_performance __percpu *acpi_perf_data;
 
 static struct cpufreq_driver acpi_cpufreq_driver;