Messages in this thread Patch in this message | | | Date | Thu, 12 Mar 2009 12:57:10 +0000 | From | "Jan Beulich" <> | Subject | [PATCH] x86: clean up output resulting from update_mptable option |
| |
Impact: cleanup
Without apic=verbose, using the update_mptable option would result in garbled and confusing output due to the inconsistent use of printk() vs apic_printk().
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- arch/x86/kernel/mpparse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.29-rc7/arch/x86/kernel/mpparse.c 2009-03-04 09:10:19.000000000 +0100 +++ 2.6.29-rc7-x86-update-mptable/arch/x86/kernel/mpparse.c 2009-03-06 11:07:34.000000000 +0100 @@ -876,12 +876,12 @@ static int __init replace_intsrc_all(st #ifdef CONFIG_X86_IO_APIC struct mpc_intsrc *m = (struct mpc_intsrc *)mpt; - printk(KERN_INFO "OLD "); + apic_printk(APIC_VERBOSE, "OLD "); print_MP_intsrc_info(m); i = get_MP_intsrc_index(m); if (i > 0) { assign_to_mpc_intsrc(&mp_irqs[i], m); - printk(KERN_INFO "NEW "); + apic_printk(APIC_VERBOSE, "NEW "); print_mp_irq_info(&mp_irqs[i]); } else if (!i) { /* legacy, do nothing */ @@ -929,7 +929,7 @@ static int __init replace_intsrc_all(st continue; if (nr_m_spare > 0) { - printk(KERN_INFO "*NEW* found "); + apic_printk(APIC_VERBOSE, "*NEW* found\n"); nr_m_spare--; assign_to_mpc_intsrc(&mp_irqs[i], m_spare[nr_m_spare]); m_spare[nr_m_spare] = NULL;
| |