x86: Reduce per cpu warning boot up messages
authorMike Travis <travis@sgi.com>
Fri, 5 Mar 2010 19:10:38 +0000 (13:10 -0600)
committerIngo Molnar <mingo@elte.hu>
Thu, 11 Mar 2010 13:27:47 +0000 (14:27 +0100)
Reduce warning message output to one line only instead of per
cpu.

Signed-of-by: Mike Travis <travis@sgi.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: x86@kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/process.c

index c9b3522b6b46bd120fdb296906b035bcfa0c9ec6..4e8cb4ee9fcb60973355adb0703a43bc2ff3bae2 100644 (file)
@@ -600,7 +600,7 @@ void __cpuinit select_idle_routine(const struct cpuinfo_x86 *c)
 {
 #ifdef CONFIG_SMP
        if (pm_idle == poll_idle && smp_num_siblings > 1) {
-               printk(KERN_WARNING "WARNING: polling idle and HT enabled,"
+               printk_once(KERN_WARNING "WARNING: polling idle and HT enabled,"
                        " performance may degrade.\n");
        }
 #endif