diff options
author | Thomas Renninger <trenn@suse.de> | 2009-04-17 10:22:07 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-19 22:47:21 -0400 |
commit | d91758f5ddb80e91176fa2cf80c88c1633950b3d (patch) | |
tree | b4ab6de9b0fd3a5f6473da74219bb522a206bced /arch/x86 | |
parent | e0e8c4e512e92bc25c19bd8d4926de17d2f8fbf2 (diff) |
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>
Diffstat (limited to 'arch/x86')
-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 | } |