All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add missing __percpu markup in pcc-cpufreq.c
@ 2010-08-07 17:37 ` Namhyung Kim
  0 siblings, 0 replies; 4+ messages in thread
From: Namhyung Kim @ 2010-08-07 17:37 UTC (permalink / raw)
  To: Dave Jones, cpufreq; +Cc: Tejun Heo, linux-kernel

pcc_cpu_info is a percpu pointer but was missing __percpu markup.
Add it.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
 arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c b/arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c
index a36de5b..994230d 100644
--- a/arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c
+++ b/arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c
@@ -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)
 {
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-07 19:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-07 17:37 [PATCH] add missing __percpu markup in pcc-cpufreq.c Namhyung Kim
2010-08-07 17:37 ` [PATCH] [CPUFREQ] " Namhyung Kim
2010-08-07 19:35 ` [PATCH] " Tejun Heo
2010-08-07 19:35   ` [PATCH] [CPUFREQ] " Tejun Heo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.