Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > d41cc2729f5f0fbbd2607b14a49457f3 > files > 106

kernel-xen-2.6.32.11-2mdv2010.1.src.rpm

From: Mike Travis <travis@sgi.com>
Subject: x86: Reduce per cpu warning boot up messages
References: bnc#587669, FATE#306952
Patch-mainline: not yet

Reduce warning message output to one line only instead of per
cpu.

Signed-of-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Rafael J. Wysocki <rjw@suse.de>
Automatically created from "patches.arch/x86-Reduce-per-cpu-warning-boot-up-messages.patch" by xen-port-patches.py

--- sle11sp1-2010-03-22.orig/arch/x86/kernel/process-xen.c	2010-02-09 17:13:11.000000000 +0100
+++ sle11sp1-2010-03-22/arch/x86/kernel/process-xen.c	2010-03-22 12:52:11.000000000 +0100
@@ -508,7 +508,7 @@ void __cpuinit select_idle_routine(const
 #ifndef CONFIG_XEN
 #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