From: Mike Travis on
Reduce warning message output to one line only instead of per cpu.

Signed-of-by: Mike Travis <travis(a)sgi.com>
Cc: Rusty Russell <rusty(a)rustcorp.com.au>
Cc: Frederic Weisbecker <fweisbec(a)gmail.com>
Cc: Brian Gerst <brgerst(a)gmail.com>
Cc: x86(a)kernel.org
---
arch/x86/kernel/process.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux.orig/arch/x86/kernel/process.c
+++ linux/arch/x86/kernel/process.c
@@ -607,7 +607,7 @@ void __cpuinit select_idle_routine(const
{
#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

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/