Commit 2a554fb1 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Ingo Molnar

x86: io-apic - do not use KERN_DEBUG marker too much

Do not use KERN_DEBUG several times on the same line being printed.
Introduced by mine previous patch, sorry.
Reported-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 79c09698
...@@ -1528,11 +1528,16 @@ static void __init setup_IO_APIC_irqs(void) ...@@ -1528,11 +1528,16 @@ static void __init setup_IO_APIC_irqs(void)
idx = find_irq_entry(apic, pin, mp_INT); idx = find_irq_entry(apic, pin, mp_INT);
if (idx == -1) { if (idx == -1) {
apic_printk(APIC_VERBOSE, if (!notcon) {
KERN_DEBUG " %d-%d",
mp_ioapics[apic].mp_apicid, pin);
if (!notcon)
notcon = 1; notcon = 1;
apic_printk(APIC_VERBOSE,
KERN_DEBUG " %d-%d",
mp_ioapics[apic].mp_apicid,
pin);
} else
apic_printk(APIC_VERBOSE, " %d-%d",
mp_ioapics[apic].mp_apicid,
pin);
continue; continue;
} }
...@@ -1548,14 +1553,14 @@ static void __init setup_IO_APIC_irqs(void) ...@@ -1548,14 +1553,14 @@ static void __init setup_IO_APIC_irqs(void)
} }
if (notcon) { if (notcon) {
apic_printk(APIC_VERBOSE, apic_printk(APIC_VERBOSE,
KERN_DEBUG " (apicid-pin) not connected\n"); " (apicid-pin) not connected\n");
notcon = 0; notcon = 0;
} }
} }
if (notcon) if (notcon)
apic_printk(APIC_VERBOSE, apic_printk(APIC_VERBOSE,
KERN_DEBUG " (apicid-pin) not connected\n"); " (apicid-pin) not connected\n");
} }
/* /*
......
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