ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c
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.
Signed-off-by Namhyung Kim <[email protected]>
--- arch/x86/kernel/acpi/cstate.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/acpi/cstate.c +1 -1
@@ -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
Quoted 4 lines · Namhyung Kim
cpu_cstate_entryis a percpu pointer but was missing__percpumarkup. Add it.Signed-off-by Namhyung Kim <[email protected]>
Acked-by Tejun Heo <[email protected]>
Thanks.
Signature · 1 line
tejun
Quoted 4 lines · Namhyung Kim
cpu_cstate_entryis a percpu pointer but was missing__percpumarkup. Add it.Signed-off-by Namhyung Kim <[email protected]>
Acked-by Tejun Heo <[email protected]>
Thanks.
Signature · 1 line
tejun
applied
thanks,
Len Brown, Intel Open Source Technology Center
applied
thanks,
Len Brown, Intel Open Source Technology Center