Skip to contentSkip to conversation

ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c

PATCH Applied Namhyung Kim 3 participants 5 messages Aug 7, 2010 – Sep 23, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c

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

---
 arch/x86/kernel/acpi/cstate.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/acpi/cstate.c +1 -1
index fb7a5f0..fb16f17 100644
@@ -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];
 
Signature · 1 line
1.7.0.4
reviewer Applied
#3 lore raw

applied

thanks,
Len Brown, Intel Open Source Technology Center