[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 b8e05ee4f7361a1dc57ce28ff9d2e5e5526f776d..ba3a94a997c3c73a43a95ca3c8baa3384f42bbba 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;
        }