]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: io-apic - do not use KERN_DEBUG marker too much
authorCyrill Gorcunov <gorcunov@gmail.com>
Mon, 8 Sep 2008 15:38:06 +0000 (19:38 +0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:53:08 +0000 (16:53 +0200)
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>
arch/x86/kernel/io_apic.c

index 4040d575a21ef1d6c23e5c458c4f06669e917ace..12e59df026dbdb838f31fa67f4fa6cfa8765e918 100644 (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");
 }
 
 /*