1
0
Fork 0

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: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
hifive-unleashed-5.1
Cyrill Gorcunov 2008-09-08 19:38:06 +04:00 committed by Ingo Molnar
parent 79c09698ca
commit 2a554fb132
1 changed files with 11 additions and 6 deletions

View File

@ -1528,11 +1528,16 @@ static void __init setup_IO_APIC_irqs(void)
idx = find_irq_entry(apic, pin, mp_INT);
if (idx == -1) {
apic_printk(APIC_VERBOSE,
KERN_DEBUG " %d-%d",
mp_ioapics[apic].mp_apicid, pin);
if (!notcon)
if (!notcon) {
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;
}
@ -1548,14 +1553,14 @@ static void __init setup_IO_APIC_irqs(void)
}
if (notcon) {
apic_printk(APIC_VERBOSE,
KERN_DEBUG " (apicid-pin) not connected\n");
" (apicid-pin) not connected\n");
notcon = 0;
}
}
if (notcon)
apic_printk(APIC_VERBOSE,
KERN_DEBUG " (apicid-pin) not connected\n");
" (apicid-pin) not connected\n");
}
/*