projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0e8c4e
)
acpi-cpufreq: style-only: add parens to math expression
author
Thomas Renninger
<trenn@suse.de>
Fri, 17 Apr 2009 14:22:07 +0000
(16:22 +0200)
committer
Len 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
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
index
4eab747
..
aec3161
100644
(file)
--- 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;
}