From: Thomas Renninger Date: Fri, 17 Apr 2009 14:22:07 +0000 (+0200) Subject: acpi-cpufreq: style-only: add parens to math expression X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d91758f5ddb80e91176fa2cf80c88c1633950b3d;p=openwrt%2Fstaging%2Fblogic.git acpi-cpufreq: style-only: add parens to math expression Signed-off-by: Thomas Renninger Signed-off-by: Len Brown --- 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, #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; }