diff options
-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 4eab747a8966..aec3161abede 100644 --- a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c +++ b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | |||
@@ -340,7 +340,7 @@ static unsigned int get_measured_perf(struct cpufreq_policy *policy, | |||
340 | 340 | ||
341 | #endif | 341 | #endif |
342 | 342 | ||
343 | retval = per_cpu(drv_data, policy->cpu)->max_freq * perf_percent / 100; | 343 | retval = (per_cpu(drv_data, policy->cpu)->max_freq * perf_percent) / 100; |
344 | 344 | ||
345 | return retval; | 345 | return retval; |
346 | } | 346 | } |