aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-04-13 21:09:20 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-13 21:09:20 -0400
commit1c98aa7424ff163637d8321674ec58dee28152d4 (patch)
tree144f554a3ba928fefa8097eec982870d15f32c9c /arch/x86/kernel/cpu
parent2e1c63b7ed36532b68f0eddd6a184d7ba1013b89 (diff)
Fix quilt merge error in acpi-cpufreq.c
We ended up incorrectly using '&cur' instead of '&readin' in the work_on_cpu() -> smp_call_function_single() transformation in commit 01599fca6758d2cd133e78f87426fc851c9ea725 ("cpufreq: use smp_call_function_[single|many]() in acpi-cpufreq.c"). Andrew explains: "OK, the acpi tree went and had conflicting changes merged into it after I'd written the patch and it appears that I incorrectly reverted part of 18b2646fe3babeb40b34a0c1751e0bf5adfdc64c while fixing the resulting rejects. Switching it to `readin' looks correct." Acked-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/kernel/cpu')
-rw-r--r--arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c2
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 3e3cd3db7a0c..837c2c4cc203 100644
--- a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
+++ b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
@@ -277,7 +277,7 @@ static unsigned int get_measured_perf(struct cpufreq_policy *policy,
277 unsigned int perf_percent; 277 unsigned int perf_percent;
278 unsigned int retval; 278 unsigned int retval;
279 279
280 if (smp_call_function_single(cpu, read_measured_perf_ctrs, &cur, 1)) 280 if (smp_call_function_single(cpu, read_measured_perf_ctrs, &readin, 1))
281 return 0; 281 return 0;
282 282
283 cur.aperf.whole = readin.aperf.whole - 283 cur.aperf.whole = readin.aperf.whole -