[CPUFREQ] Fix powernow-k8 SMP kernel on UP hardware bug.
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 21 Jun 2006 05:32:56 +0000 (22:32 -0700)
committerDave Jones <davej@redhat.com>
Wed, 21 Jun 2006 21:34:25 +0000 (17:34 -0400)
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

index 756d0a333ed6f8afd680d020dff7d9e4045d8791..2d64916725592dd98d69faf36df2d6bd14d284f3 100644 (file)
@@ -1163,7 +1163,7 @@ static int __cpuinit powernowk8_cpu_init(struct cpufreq_policy *pol)
                 * Use the PSB BIOS structure. This is only availabe on
                 * 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;