Skip to content

Commit

Permalink
[CPUFREQ] Silence powernow-k8 warning on k7's.
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Dave Jones committed Feb 28, 2006
1 parent d4f0f12 commit 2c906ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/i386/kernel/cpu/cpufreq/powernow-k8.c
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,10 @@ static int check_supported_cpu(unsigned int cpu)
goto out;

eax = cpuid_eax(CPUID_PROCESSOR_SIGNATURE);
if ((eax & CPUID_XFAM) != CPUID_XFAM_K8)
goto out;

if (((eax & CPUID_USE_XFAM_XMOD) != CPUID_USE_XFAM_XMOD) ||
((eax & CPUID_XFAM) != CPUID_XFAM_K8) ||
((eax & CPUID_XMOD) > CPUID_XMOD_REV_G)) {
printk(KERN_INFO PFX "Processor cpuid %x not supported\n", eax);
goto out;
Expand Down

0 comments on commit 2c906ae

Please sign in to comment.