projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58f87ed
)
ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c
author
Namhyung Kim
<namhyung@gmail.com>
Sat, 7 Aug 2010 17:17:29 +0000
(
02:17
+0900)
committer
Len Brown
<len.brown@intel.com>
Wed, 29 Sep 2010 01:38:20 +0000
(21:38 -0400)
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>
arch/x86/kernel/acpi/cstate.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/acpi/cstate.c
b/arch/x86/kernel/acpi/cstate.c
index fb7a5f052e2b8766d11115e3f7fc174fadf6ac2f..fb16f17e59bea7dcde91e6ad6275c7bad5bbdfb8 100644
(file)
--- 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];