|
@@ -1694,6 +1694,7 @@ __apicdebuginit(void) print_IO_APICs(void)
|
|
|
int ioapic_idx;
|
|
|
struct irq_cfg *cfg;
|
|
|
unsigned int irq;
|
|
|
+ struct irq_chip *chip;
|
|
|
|
|
|
printk(KERN_DEBUG "number of MP IRQ sources: %d.\n", mp_irq_entries);
|
|
|
for (ioapic_idx = 0; ioapic_idx < nr_ioapics; ioapic_idx++)
|
|
@@ -1714,6 +1715,10 @@ __apicdebuginit(void) print_IO_APICs(void)
|
|
|
for_each_active_irq(irq) {
|
|
|
struct irq_pin_list *entry;
|
|
|
|
|
|
+ chip = irq_get_chip(irq);
|
|
|
+ if (chip != &ioapic_chip)
|
|
|
+ continue;
|
|
|
+
|
|
|
cfg = irq_get_chip_data(irq);
|
|
|
if (!cfg)
|
|
|
continue;
|