Skip to content

Commit

Permalink
[CPUFREQ] Fix powernow-k8 SMP kernel on UP hardware bug.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Dave Jones committed Jun 21, 2006
1 parent 491b07c commit 9ed059e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/i386/kernel/cpu/cpufreq/powernow-k8.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9ed059e

Please sign in to comment.