[CPUFREQ] p4-clockmod: reduce noise
authorDominik Brodowski <linux@dominikbrodowski.net>
Fri, 17 Oct 2008 20:52:04 +0000 (22:52 +0200)
committerDave Jones <davej@redhat.com>
Fri, 5 Dec 2008 20:20:10 +0000 (15:20 -0500)
On those CPUs which are SpeedStep (EST) capable, we do not care at all if
p4-clockmod does not work, since a technically superior CPU frequency
management technology is to be used.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/x86/kernel/cpu/cpufreq/p4-clockmod.c

index b8e05ee..ba3a94a 100644 (file)
@@ -171,7 +171,9 @@ static unsigned int cpufreq_p4_get_frequency(struct cpuinfo_x86 *c)
        }
 
        if (c->x86 != 0xF) {
-               printk(KERN_WARNING PFX "Unknown p4-clockmod-capable CPU. Please send an e-mail to <cpufreq@vger.kernel.org>\n");
+               if (!cpu_has(c, X86_FEATURE_EST))
+                       printk(KERN_WARNING PFX "Unknown p4-clockmod-capable CPU. "
+                               "Please send an e-mail to <cpufreq@vger.kernel.org>\n");
                return 0;
        }