Browse Source

acpi-cpufreq: style-only: add parens to math expression

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Thomas Renninger 16 years ago
parent
commit
d91758f5dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c

+ 1 - 1
arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c

@@ -340,7 +340,7 @@ static unsigned int get_measured_perf(struct cpufreq_policy *policy,
 
 #endif
 
-	retval = per_cpu(drv_data, policy->cpu)->max_freq * perf_percent / 100;
+	retval = (per_cpu(drv_data, policy->cpu)->max_freq * perf_percent) / 100;
 
 	return retval;
 }