projects
/
openwrt
/
staging
/
blogic.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 4eab747a8966eb33c6f025c8f1bbf3dfdede0283..aec3161abedeafd3be70e4c2a0593d4f4284c9a8 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;
}