Commit 2aebc5b1 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[CPUFREQ] Don't bother checking if we need workarounds if we don't support powernow.

parent c2076f46
...@@ -98,11 +98,6 @@ static int check_powernow(void) ...@@ -98,11 +98,6 @@ static int check_powernow(void)
return 0; return 0;
} }
if ((c->x86_model == 6) && (c->x86_mask == 0)) {
printk (KERN_INFO PFX "K7 660[A0] core detected, enabling errata workarounds\n");
have_a0 = 1;
}
/* Get maximum capabilities */ /* Get maximum capabilities */
maxei = cpuid_eax (0x80000000); maxei = cpuid_eax (0x80000000);
if (maxei < 0x80000007) { /* Any powernow info ? */ if (maxei < 0x80000007) { /* Any powernow info ? */
...@@ -112,6 +107,11 @@ static int check_powernow(void) ...@@ -112,6 +107,11 @@ static int check_powernow(void)
return 0; return 0;
} }
if ((c->x86_model == 6) && (c->x86_mask == 0)) {
printk (KERN_INFO PFX "K7 660[A0] core detected, enabling errata workarounds\n");
have_a0 = 1;
}
cpuid(0x80000007, &eax, &ebx, &ecx, &edx); cpuid(0x80000007, &eax, &ebx, &ecx, &edx);
printk (KERN_INFO PFX "PowerNOW! Technology present. Can scale: "); printk (KERN_INFO PFX "PowerNOW! Technology present. Can scale: ");
......
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