kernel-xen/xen3-x86-Reduce-per-cpu-warning-boot-up-messages.patch

25 lines
985 B
Diff
Raw Normal View History

2012-04-14 04:10:33 +04:00
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