We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67d631b commit fd52a75Copy full SHA for fd52a75
arch/x86/kernel/apic/io_apic.c
@@ -154,19 +154,6 @@ static inline bool mp_is_legacy_irq(int irq)
154
return irq >= 0 && irq < nr_legacy_irqs();
155
}
156
157
-/*
158
- * Initialize all legacy IRQs and all pins on the first IOAPIC
159
- * if we have legacy interrupt controller. Kernel boot option "pirq="
160
- * may rely on non-legacy pins on the first IOAPIC.
161
- */
162
-static inline int mp_init_irq_at_boot(int ioapic, int irq)
163
-{
164
- if (!nr_legacy_irqs())
165
- return 0;
166
-
167
- return ioapic == 0 || mp_is_legacy_irq(irq);
168
-}
169
170
static inline struct irq_domain *mp_ioapic_irqdomain(int ioapic)
171
{
172
return ioapics[ioapic].irqdomain;
0 commit comments