diff options
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | 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 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 - |