Messages in this thread Patch in this message | | | Date | Thu, 12 Nov 2009 11:19:39 -0600 | From | Mike Travis <> | Subject | [PATCH 5/7] x86: Limit the number of per cpu MCE bootup messages |
| |
Limit the number of per cpu MCE messages when system is booting to prevent clogging up the console output with repetitious messages.
Signed-off-by: Mike Travis <travis@sgi.com> --- arch/x86/kernel/cpu/mcheck/mce.c | 4 ++-- arch/x86/kernel/cpu/mcheck/mce_intel.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
--- linux.orig/arch/x86/kernel/cpu/mcheck/mce.c +++ linux/arch/x86/kernel/cpu/mcheck/mce.c @@ -1215,10 +1215,10 @@ b = cap & MCG_BANKCNT_MASK; if (!banks) - printk(KERN_INFO "mce: CPU supports %d MCE banks\n", b); + pr_debug("mce: CPU supports %d MCE banks\n", b); if (b > MAX_NR_BANKS) { - printk(KERN_WARNING + pr_warning( "MCE: Using only %u machine check banks out of %u\n", MAX_NR_BANKS, b); b = MAX_NR_BANKS; --- linux.orig/arch/x86/kernel/cpu/mcheck/mce_intel.c +++ linux/arch/x86/kernel/cpu/mcheck/mce_intel.c @@ -67,7 +67,7 @@ static void print_update(char *type, int *hdr, int num) { if (*hdr == 0) - printk(KERN_INFO "CPU %d MCA banks", smp_processor_id()); + printk(KERN_DEBUG "CPU %d MCA banks", smp_processor_id()); *hdr = 1; printk(KERN_CONT " %s:%d", type, num); } --
| |