acpi-cpufreq: style-only: add parens to math expression
authorThomas Renninger <trenn@suse.de>
Fri, 17 Apr 2009 14:22:07 +0000 (16:22 +0200)
committerLen Brown <len.brown@intel.com>
Mon, 20 Apr 2009 02:47:21 +0000 (22:47 -0400)
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c

index 4eab747..aec3161 100644 (file)
@@ -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;
 }