diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2006-11-07 15:15:04 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-11-07 15:15:04 +0100 |
commit | 6f5bccdd4fcebf5edc3cd3ff3e68417a0dbe9f2b (patch) | |
tree | dc8e8f64dec1ace1dc5375d85ce70495885ec99f /arch | |
parent | 22d66b36bdebde6a104798f1a4ea86b1101e71b4 (diff) |
[CPUFREQ] Fix powernow-k8 SMP kernel on UP hardware bug.
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/powernow-k8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c index e11a09207ec..c2719ab6934 100644 --- 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; |