diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-08-08 02:17:29 +0900 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-09-28 21:38:20 -0400 |
commit | bd126b23a2f30c3c7d268db2b96866923eb732a5 (patch) | |
tree | dc4abf734b58fbf529aa30a98878a5cef70f5c37 | |
parent | 58f87ed0d45141a90167f34c0959d607160a26df (diff) | |
download | linux-bd126b23a2f30c3c7d268db2b96866923eb732a5.tar.bz2 |
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>
-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]; |