* [PATCH] ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c
@ 2010-08-07 17:17 Namhyung Kim
2010-08-07 19:33 ` Tejun Heo
2010-08-07 19:33 ` Tejun Heo
0 siblings, 2 replies; 6+ messages in thread
From: Namhyung Kim @ 2010-08-07 17:17 UTC (permalink / raw)
To: Len Brown, Pavel Machek, Rafael J. Wysocki, linux-pm
Cc: Tejun Heo, linux-kernel
cpu_cstate_entry is a percpu pointer but was missing __percpu markup.
Add it.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
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 fb7a5f0..fb16f17 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];
--
1.7.0.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c
2010-08-07 17:17 [PATCH] ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c Namhyung Kim
2010-08-07 19:33 ` Tejun Heo
@ 2010-08-07 19:33 ` Tejun Heo
2010-09-23 17:35 ` Len Brown
2010-09-23 17:35 ` Len Brown
1 sibling, 2 replies; 6+ messages in thread
From: Tejun Heo @ 2010-08-07 19:33 UTC (permalink / raw)
To: Namhyung Kim
Cc: Len Brown, Pavel Machek, Rafael J. Wysocki, linux-pm, linux-kernel
On 08/07/2010 07:17 PM, Namhyung Kim wrote:
> cpu_cstate_entry is a percpu pointer but was missing __percpu markup.
> Add it.
>
> Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c
2010-08-07 17:17 [PATCH] ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c Namhyung Kim
@ 2010-08-07 19:33 ` Tejun Heo
2010-08-07 19:33 ` Tejun Heo
1 sibling, 0 replies; 6+ messages in thread
From: Tejun Heo @ 2010-08-07 19:33 UTC (permalink / raw)
To: Namhyung Kim; +Cc: Len Brown, linux-pm, linux-kernel
On 08/07/2010 07:17 PM, Namhyung Kim wrote:
> cpu_cstate_entry is a percpu pointer but was missing __percpu markup.
> Add it.
>
> Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c
2010-08-07 19:33 ` Tejun Heo
@ 2010-09-23 17:35 ` Len Brown
2010-09-23 17:35 ` Len Brown
1 sibling, 0 replies; 6+ messages in thread
From: Len Brown @ 2010-09-23 17:35 UTC (permalink / raw)
To: Tejun Heo
Cc: Namhyung Kim, Len Brown, Pavel Machek, Rafael J. Wysocki,
linux-pm, linux-kernel
applied
thanks,
Len Brown, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c
2010-08-07 19:33 ` Tejun Heo
2010-09-23 17:35 ` Len Brown
@ 2010-09-23 17:35 ` Len Brown
1 sibling, 0 replies; 6+ messages in thread
From: Len Brown @ 2010-09-23 17:35 UTC (permalink / raw)
To: Tejun Heo; +Cc: Len Brown, Namhyung Kim, linux-kernel, linux-pm
applied
thanks,
Len Brown, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c
@ 2010-08-07 17:17 Namhyung Kim
0 siblings, 0 replies; 6+ messages in thread
From: Namhyung Kim @ 2010-08-07 17:17 UTC (permalink / raw)
To: Len Brown, Pavel Machek, Rafael J. Wysocki, linux-pm
Cc: Tejun Heo, linux-kernel
cpu_cstate_entry is a percpu pointer but was missing __percpu markup.
Add it.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
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 fb7a5f0..fb16f17 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];
--
1.7.0.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-09-23 17:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-07 17:17 [PATCH] ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c Namhyung Kim
2010-08-07 19:33 ` Tejun Heo
2010-08-07 19:33 ` Tejun Heo
2010-09-23 17:35 ` Len Brown
2010-09-23 17:35 ` Len Brown
-- strict thread matches above, loose matches on Subject: below --
2010-08-07 17:17 Namhyung Kim
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.