diff options
author | Dave Jones <davej@redhat.com> | 2006-02-28 00:36:32 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-02-28 00:36:32 -0500 |
commit | 2c906ae67b5b2fc3585230b16406400a363b42e4 (patch) | |
tree | fc1aba2158f37a741de0f1b3918b326225194ba3 /arch | |
parent | d4f0f122ec407bd1b4d1c773d0c87edc6a92cd26 (diff) |
[CPUFREQ] Silence powernow-k8 warning on k7's.
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/powernow-k8.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c index e11a09207ec8..3b3a94987d10 100644 --- a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c +++ b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c | |||
@@ -474,8 +474,10 @@ static int check_supported_cpu(unsigned int cpu) | |||
474 | goto out; | 474 | goto out; |
475 | 475 | ||
476 | eax = cpuid_eax(CPUID_PROCESSOR_SIGNATURE); | 476 | eax = cpuid_eax(CPUID_PROCESSOR_SIGNATURE); |
477 | if ((eax & CPUID_XFAM) != CPUID_XFAM_K8) | ||
478 | goto out; | ||
479 | |||
477 | if (((eax & CPUID_USE_XFAM_XMOD) != CPUID_USE_XFAM_XMOD) || | 480 | if (((eax & CPUID_USE_XFAM_XMOD) != CPUID_USE_XFAM_XMOD) || |
478 | ((eax & CPUID_XFAM) != CPUID_XFAM_K8) || | ||
479 | ((eax & CPUID_XMOD) > CPUID_XMOD_REV_G)) { | 481 | ((eax & CPUID_XMOD) > CPUID_XMOD_REV_G)) { |
480 | printk(KERN_INFO PFX "Processor cpuid %x not supported\n", eax); | 482 | printk(KERN_INFO PFX "Processor cpuid %x not supported\n", eax); |
481 | goto out; | 483 | goto out; |