]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
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 4eab747a8966eb33c6f025c8f1bbf3dfdede0283..aec3161abedeafd3be70e4c2a0593d4f4284c9a8 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;
 }