[CPUFREQ] add missing __percpu markup in pcc-cpufreq.c
authorNamhyung Kim <namhyung@gmail.com>
Sat, 7 Aug 2010 17:37:23 +0000 (02:37 +0900)
committerDave Jones <davej@redhat.com>
Thu, 12 Aug 2010 16:38:06 +0000 (12:38 -0400)
pcc_cpu_info 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/pcc-cpufreq.c

index a36de5bbb6222e953986ee4f4b34fe4caee1388d..994230d4dc4e545986a8c982629589905f0f224d 100644 (file)
@@ -110,7 +110,7 @@ struct pcc_cpu {
        u32 output_offset;
 };
 
-static struct pcc_cpu *pcc_cpu_info;
+static struct pcc_cpu __percpu *pcc_cpu_info;
 
 static int pcc_cpufreq_verify(struct cpufreq_policy *policy)
 {