From: Namhyung Kim Date: Sat, 7 Aug 2010 17:17:29 +0000 (+0900) Subject: ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bd126b23a2f30c3c7d268db2b96866923eb732a5;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c cpu_cstate_entry is a percpu pointer but was missing __percpu markup. Signed-off-by: Namhyung Kim Acked-by: Tejun Heo Signed-off-by: Len Brown --- diff --git a/arch/x86/kernel/acpi/cstate.c b/arch/x86/kernel/acpi/cstate.c index fb7a5f052e2..fb16f17e59b 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];