diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-09-08 11:38:06 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:53:08 -0400 |
commit | 2a554fb132cf804477087057b9b0ff2162984507 (patch) | |
tree | 1bc8f45deb3a1964625f9fe457a91aabdce6c059 /arch/x86/kernel/io_apic.c | |
parent | 79c09698cac8df16c5539447d5e1047fde9742e5 (diff) |
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>
Diffstat (limited to 'arch/x86/kernel/io_apic.c')
-rw-r--r-- | arch/x86/kernel/io_apic.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c index 4040d575a21e..12e59df026db 100644 --- a/arch/x86/kernel/io_apic.c +++ b/arch/x86/kernel/io_apic.c | |||
@@ -1528,11 +1528,16 @@ static void __init setup_IO_APIC_irqs(void) | |||
1528 | 1528 | ||
1529 | idx = find_irq_entry(apic, pin, mp_INT); | 1529 | idx = find_irq_entry(apic, pin, mp_INT); |
1530 | if (idx == -1) { | 1530 | if (idx == -1) { |
1531 | apic_printk(APIC_VERBOSE, | 1531 | if (!notcon) { |
1532 | KERN_DEBUG " %d-%d", | ||
1533 | mp_ioapics[apic].mp_apicid, pin); | ||
1534 | if (!notcon) | ||
1535 | notcon = 1; | 1532 | notcon = 1; |
1533 | apic_printk(APIC_VERBOSE, | ||
1534 | KERN_DEBUG " %d-%d", | ||
1535 | mp_ioapics[apic].mp_apicid, | ||
1536 | pin); | ||
1537 | } else | ||
1538 | apic_printk(APIC_VERBOSE, " %d-%d", | ||
1539 | mp_ioapics[apic].mp_apicid, | ||
1540 | pin); | ||
1536 | continue; | 1541 | continue; |
1537 | } | 1542 | } |
1538 | 1543 | ||
@@ -1548,14 +1553,14 @@ static void __init setup_IO_APIC_irqs(void) | |||
1548 | } | 1553 | } |
1549 | if (notcon) { | 1554 | if (notcon) { |
1550 | apic_printk(APIC_VERBOSE, | 1555 | apic_printk(APIC_VERBOSE, |
1551 | KERN_DEBUG " (apicid-pin) not connected\n"); | 1556 | " (apicid-pin) not connected\n"); |
1552 | notcon = 0; | 1557 | notcon = 0; |
1553 | } | 1558 | } |
1554 | } | 1559 | } |
1555 | 1560 | ||
1556 | if (notcon) | 1561 | if (notcon) |
1557 | apic_printk(APIC_VERBOSE, | 1562 | apic_printk(APIC_VERBOSE, |
1558 | KERN_DEBUG " (apicid-pin) not connected\n"); | 1563 | " (apicid-pin) not connected\n"); |
1559 | } | 1564 | } |
1560 | 1565 | ||
1561 | /* | 1566 | /* |