* [PATCH] [CPUFREQ] acpi-cpufreq: add missing __percpu markup
@ 2010-08-13 14:00 Namhyung Kim
2010-08-13 14:03 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Namhyung Kim @ 2010-08-13 14:00 UTC (permalink / raw)
To: Dave Jones, cpufreq; +Cc: Tejun Heo, linux-kernel
acpi_perf_data is a percpu pointer but was missing __percpu markup.
Add it.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
index 246cd3a..cd8da24 100644
--- a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
+++ b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
@@ -72,7 +72,7 @@ struct acpi_cpufreq_data {
static DEFINE_PER_CPU(struct acpi_cpufreq_data *, acfreq_data);
/* acpi_perf_data is a pointer to percpu data. */
-static struct acpi_processor_performance *acpi_perf_data;
+static struct acpi_processor_performance __percpu *acpi_perf_data;
static struct cpufreq_driver acpi_cpufreq_driver;
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] [CPUFREQ] acpi-cpufreq: add missing __percpu markup
2010-08-13 14:00 [PATCH] [CPUFREQ] acpi-cpufreq: add missing __percpu markup Namhyung Kim
@ 2010-08-13 14:03 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2010-08-13 14:03 UTC (permalink / raw)
To: Namhyung Kim; +Cc: Dave Jones, cpufreq, linux-kernel
On 08/13/2010 04:00 PM, Namhyung Kim wrote:
> acpi_perf_data 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] 2+ messages in thread
end of thread, other threads:[~2010-08-13 14:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-13 14:00 [PATCH] [CPUFREQ] acpi-cpufreq: add missing __percpu markup Namhyung Kim
2010-08-13 14:03 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox