|
@@ -277,7 +277,7 @@ static unsigned int get_measured_perf(struct cpufreq_policy *policy,
|
|
|
unsigned int perf_percent;
|
|
unsigned int perf_percent;
|
|
|
unsigned int retval;
|
|
unsigned int retval;
|
|
|
|
|
|
|
|
- if (smp_call_function_single(cpu, read_measured_perf_ctrs, &cur, 1))
|
|
|
|
|
|
|
+ if (smp_call_function_single(cpu, read_measured_perf_ctrs, &readin, 1))
|
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
|
|
cur.aperf.whole = readin.aperf.whole -
|
|
cur.aperf.whole = readin.aperf.whole -
|