diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-08-07 21:17:29 +0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-09-29 05:38:20 +0400 |
commit | bd126b23a2f30c3c7d268db2b96866923eb732a5 (patch) | |
tree | dc4abf734b58fbf529aa30a98878a5cef70f5c37 /arch | |
parent | 58f87ed0d45141a90167f34c0959d607160a26df (diff) | |
download | linux-bd126b23a2f30c3c7d268db2b96866923eb732a5.tar.xz |
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 <namhyung@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | 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 fb7a5f052e2b..fb16f17e59be 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]; |