aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-08-08 02:17:29 +0900
committerLen Brown <len.brown@intel.com>2010-09-28 21:38:20 -0400
commitbd126b23a2f30c3c7d268db2b96866923eb732a5 (patch)
treedc4abf734b58fbf529aa30a98878a5cef70f5c37 /arch
parent58f87ed0d45141a90167f34c0959d607160a26df (diff)
downloadmrst-s0i3-test-bd126b23a2f30c3c7d268db2b96866923eb732a5.tar.gz
mrst-s0i3-test-bd126b23a2f30c3c7d268db2b96866923eb732a5.tar.xz
mrst-s0i3-test-bd126b23a2f30c3c7d268db2b96866923eb732a5.zip
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.c2
1 files changed, 1 insertions, 1 deletions
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];