Commit 77d4fd78 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[CPUFREQ] Drop unneeded part of last patch.

acpi fallback is handled already in the init function.
parent 18b6dc79
...@@ -481,13 +481,7 @@ static int powernow_decode_bios (int maxfid, int startvid) ...@@ -481,13 +481,7 @@ static int powernow_decode_bios (int maxfid, int startvid)
printk (KERN_INFO PFX "No PST tables match this cpuid (0x%x)\n", etuple); printk (KERN_INFO PFX "No PST tables match this cpuid (0x%x)\n", etuple);
printk (KERN_INFO PFX "This is indicative of a broken BIOS.\n"); printk (KERN_INFO PFX "This is indicative of a broken BIOS.\n");
printk (KERN_INFO PFX "Trying ACPI perflib\n"); return -EINVAL;
ret = powernow_acpi_init();
if (ret) {
printk (KERN_INFO PFX "ACPI and legacy methods failed\n");
printk (KERN_INFO PFX "See http://www.codemonkey.org.uk/projects/cpufreq/powernow-k7.shtml\n");
}
return ret;
} }
p++; p++;
} }
...@@ -568,7 +562,12 @@ static int __init powernow_cpu_init (struct cpufreq_policy *policy) ...@@ -568,7 +562,12 @@ static int __init powernow_cpu_init (struct cpufreq_policy *policy)
} else { } else {
result = powernow_decode_bios(fidvidstatus.bits.MFID, fidvidstatus.bits.SVID); result = powernow_decode_bios(fidvidstatus.bits.MFID, fidvidstatus.bits.SVID);
if (result) { if (result) {
printk (KERN_INFO PFX "Trying ACPI perflib\n");
result = powernow_acpi_init(); result = powernow_acpi_init();
if (result) {
printk (KERN_INFO PFX "ACPI and legacy methods failed\n");
printk (KERN_INFO PFX "See http://www.codemonkey.org.uk/projects/cpufreq/powernow-k7.shtml\n");
}
} else { } else {
/* SGTC use the bus clock as timer */ /* SGTC use the bus clock as timer */
latency = fixup_sgtc(); latency = fixup_sgtc();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment