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:
f7f3cad
)
[CPUFREQ] powernow-k8: Fix test in get_transition_latency()
author
Roel Kluin
<roel.kluin@gmail.com>
Tue, 6 Oct 2009 15:36:53 +0000
(17:36 +0200)
committer
Dave Jones
<davej@redhat.com>
Wed, 18 Nov 2009 04:15:03 +0000
(23:15 -0500)
Not makes it a bool before the comparison.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/x86/kernel/cpu/cpufreq/powernow-k8.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c
b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c
index 6394aa5c7985b17ea0c18a9d9ae6859cd7b66585..3f12dabeab525d2de56321c6dc1a1a6817d8db7a 100644
(file)
--- a/
arch/x86/kernel/cpu/cpufreq/powernow-k8.c
+++ b/
arch/x86/kernel/cpu/cpufreq/powernow-k8.c
@@
-1022,7
+1022,7
@@
static int get_transition_latency(struct powernow_k8_data *data)
* set it to 1 to avoid problems in the future.
* For all others it's a BIOS bug.
*/
- if (
!boot_cpu_data.x86 =
= 0x11)
+ if (
boot_cpu_data.x86 !
= 0x11)
printk(KERN_ERR FW_WARN PFX "Invalid zero transition "
"latency\n");
max_latency = 1;