Commit 82034d6f authored by Jan Beulich's avatar Jan Beulich Committed by Ingo Molnar

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: default avatarJan Beulich <jbeulich@novell.com>
LKML-Reference: <49B914B6.76E4.0078.0@novell.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 9a50156a
...@@ -890,12 +890,12 @@ static int __init replace_intsrc_all(struct mpc_table *mpc, ...@@ -890,12 +890,12 @@ static int __init replace_intsrc_all(struct mpc_table *mpc,
#ifdef CONFIG_X86_IO_APIC #ifdef CONFIG_X86_IO_APIC
struct mpc_intsrc *m = (struct mpc_intsrc *)mpt; struct mpc_intsrc *m = (struct mpc_intsrc *)mpt;
printk(KERN_INFO "OLD "); apic_printk(APIC_VERBOSE, "OLD ");
print_MP_intsrc_info(m); print_MP_intsrc_info(m);
i = get_MP_intsrc_index(m); i = get_MP_intsrc_index(m);
if (i > 0) { if (i > 0) {
assign_to_mpc_intsrc(&mp_irqs[i], m); assign_to_mpc_intsrc(&mp_irqs[i], m);
printk(KERN_INFO "NEW "); apic_printk(APIC_VERBOSE, "NEW ");
print_mp_irq_info(&mp_irqs[i]); print_mp_irq_info(&mp_irqs[i]);
} else if (!i) { } else if (!i) {
/* legacy, do nothing */ /* legacy, do nothing */
...@@ -943,7 +943,7 @@ static int __init replace_intsrc_all(struct mpc_table *mpc, ...@@ -943,7 +943,7 @@ static int __init replace_intsrc_all(struct mpc_table *mpc,
continue; continue;
if (nr_m_spare > 0) { if (nr_m_spare > 0) {
printk(KERN_INFO "*NEW* found "); apic_printk(APIC_VERBOSE, "*NEW* found\n");
nr_m_spare--; nr_m_spare--;
assign_to_mpc_intsrc(&mp_irqs[i], m_spare[nr_m_spare]); assign_to_mpc_intsrc(&mp_irqs[i], m_spare[nr_m_spare]);
m_spare[nr_m_spare] = NULL; m_spare[nr_m_spare] = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment