* [PATCH] ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c
@ 2010-08-07 17:17 Namhyung Kim
2010-08-07 19:33 ` Tejun Heo
0 siblings, 1 reply; 3+ messages in thread
From: Namhyung Kim @ 2010-08-07 17:17 UTC (permalink / raw)
To: Len Brown, Pavel Machek, Rafael J. Wysocki, linux-pm
Cc: Tejun Heo, linux-kernel
cpu_cstate_entry is a percpu pointer but was missing __percpu markup.
Add it.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
arch/x86/kernel/acpi/cstate.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/acpi/cstate.c b/arch/x86/kernel/acpi/cstate.c
index fb7a5f0..fb16f17 100644
--- a/arch/x86/kernel/acpi/cstate.c
+++ b/arch/x86/kernel/acpi/cstate.c
@@ -61,7 +61,7 @@ struct cstate_entry {
unsigned int ecx;
} states[ACPI_PROCESSOR_MAX_POWER];
};
-static struct cstate_entry *cpu_cstate_entry; /* per CPU ptr */
+static struct cstate_entry __percpu *cpu_cstate_entry; /* per CPU ptr */
static short mwait_supported[ACPI_PROCESSOR_MAX_POWER];
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-23 17:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-07 17:17 [PATCH] ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c Namhyung Kim
2010-08-07 19:33 ` Tejun Heo
2010-09-23 17:35 ` Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox