projects
/
wrapfs-3.2.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22d66b3
)
[CPUFREQ] Fix powernow-k8 SMP kernel on UP hardware bug.
author
Randy Dunlap
<randy.dunlap@oracle.com>
Tue, 7 Nov 2006 14:15:04 +0000
(15:15 +0100)
committer
Adrian Bunk
<bunk@stusta.de>
Tue, 7 Nov 2006 14:15:04 +0000
(15:15 +0100)
Fix powernow-k8 doesn't load bug.
Reference:
https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/35145
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
patch
|
blob
|
history
diff --git
a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
index e11a09207ec89cc74c236ed7efa2fbd5059da8ca..c2719ab6934211d53c04a806f99469b5e79a82da 100644
(file)
--- a/
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
+++ b/
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
@@
-1006,7
+1006,7
@@
static int __cpuinit powernowk8_cpu_init(struct cpufreq_policy *pol)
* an UP version, and is deprecated by AMD.
*/
- if (
(num_online_cpus() != 1) || (num_possible_cpus() != 1)
) {
+ if (
num_online_cpus() != 1
) {
printk(KERN_ERR PFX "MP systems not supported by PSB BIOS structure\n");
kfree(data);
return -ENODEV;