diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-09-13 05:11:16 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:53:10 -0400 |
commit | 56ffa1a028b9fce3860a247c6fe79fce7cbf425b (patch) | |
tree | 513f7d6a1badb68fd08d3572f3d8cc24f1565215 /arch | |
parent | b189892de4da4634560657aedd774752094dbfa0 (diff) |
x86: io-apic - do not use KERN_DEBUG marker too much, fix
Yinghai Lu reported:
| > 0 add_pin_to_irq: irq 15 --> apic 0 pin 15
| > IOAPIC[0]: Set routing entry (8-15 -> 0x3f -> IRQ 15 Mode:0 Active:0)
| > 8-16 8-17 8-18 8-19 8-20 8-21 8-22 8-23 (apicid-pin) not connected
| > 9-0 9-1 9-2 9-3 9-4 9-5 9-6 9-7 9-8 9-9 9-10 9-11 9-12 9-13 9-14 9-15
| > 9-16 9-17 9-18 9-19 9-20 9-21 9-22 9-23 (apicid-pin) not connected
| >
|
| only first one not connected at first, and ...
here is a quick fix for this.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/io_apic.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c index ac47384724e3..6ce5873a406c 100644 --- a/arch/x86/kernel/io_apic.c +++ b/arch/x86/kernel/io_apic.c | |||
@@ -1541,6 +1541,11 @@ static void __init setup_IO_APIC_irqs(void) | |||
1541 | pin); | 1541 | pin); |
1542 | continue; | 1542 | continue; |
1543 | } | 1543 | } |
1544 | if (notcon) { | ||
1545 | apic_printk(APIC_VERBOSE, | ||
1546 | " (apicid-pin) not connected\n"); | ||
1547 | notcon = 0; | ||
1548 | } | ||
1544 | 1549 | ||
1545 | irq = pin_2_irq(idx, apic, pin); | 1550 | irq = pin_2_irq(idx, apic, pin); |
1546 | #ifdef CONFIG_X86_32 | 1551 | #ifdef CONFIG_X86_32 |
@@ -1552,11 +1557,6 @@ static void __init setup_IO_APIC_irqs(void) | |||
1552 | setup_IO_APIC_irq(apic, pin, irq, | 1557 | setup_IO_APIC_irq(apic, pin, irq, |
1553 | irq_trigger(idx), irq_polarity(idx)); | 1558 | irq_trigger(idx), irq_polarity(idx)); |
1554 | } | 1559 | } |
1555 | if (notcon) { | ||
1556 | apic_printk(APIC_VERBOSE, | ||
1557 | " (apicid-pin) not connected\n"); | ||
1558 | notcon = 0; | ||
1559 | } | ||
1560 | } | 1560 | } |
1561 | 1561 | ||
1562 | if (notcon) | 1562 | if (notcon) |