提交 853cee26 编写于 作者: N Naga Chumbalkar 提交者: Dave Jones

[CPUFREQ] p4-clockmod: print EST-capable warning message only once

Print the message only once. I see it 16 times on a 2P box with 16 logical CPUs.
Signed-off-by: NNaga Chumbalkar <nagananda.chumbalkar@hp.com>
上级 8f5bc2ab
...@@ -158,9 +158,9 @@ static unsigned int cpufreq_p4_get_frequency(struct cpuinfo_x86 *c) ...@@ -158,9 +158,9 @@ static unsigned int cpufreq_p4_get_frequency(struct cpuinfo_x86 *c)
{ {
if (c->x86 == 0x06) { if (c->x86 == 0x06) {
if (cpu_has(c, X86_FEATURE_EST)) if (cpu_has(c, X86_FEATURE_EST))
printk(KERN_WARNING PFX "Warning: EST-capable CPU " printk_once(KERN_WARNING PFX "Warning: EST-capable "
"detected. The acpi-cpufreq module offers " "CPU detected. The acpi-cpufreq module offers "
"voltage scaling in addition of frequency " "voltage scaling in addition to frequency "
"scaling. You should use that instead of " "scaling. You should use that instead of "
"p4-clockmod, if possible.\n"); "p4-clockmod, if possible.\n");
switch (c->x86_model) { switch (c->x86_model) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册