aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/i386/kernel/io_apic.c4
-rw-r--r--arch/x86_64/kernel/io_apic.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c
index ad84bc2802a6..3b7a63e0ed1a 100644
--- a/arch/i386/kernel/io_apic.c
+++ b/arch/i386/kernel/io_apic.c
@@ -1287,9 +1287,11 @@ static void ioapic_register_intr(int irq, int vector, unsigned long trigger)
1287 trigger == IOAPIC_LEVEL) 1287 trigger == IOAPIC_LEVEL)
1288 set_irq_chip_and_handler_name(irq, &ioapic_chip, 1288 set_irq_chip_and_handler_name(irq, &ioapic_chip,
1289 handle_fasteoi_irq, "fasteoi"); 1289 handle_fasteoi_irq, "fasteoi");
1290 else 1290 else {
1291 irq_desc[irq].status |= IRQ_DELAYED_DISABLE;
1291 set_irq_chip_and_handler_name(irq, &ioapic_chip, 1292 set_irq_chip_and_handler_name(irq, &ioapic_chip,
1292 handle_edge_irq, "edge"); 1293 handle_edge_irq, "edge");
1294 }
1293 set_intr_gate(vector, interrupt[irq]); 1295 set_intr_gate(vector, interrupt[irq]);
1294} 1296}
1295 1297
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c
index 41bfc49301ad..14654e682411 100644
--- a/arch/x86_64/kernel/io_apic.c
+++ b/arch/x86_64/kernel/io_apic.c
@@ -790,9 +790,11 @@ static void ioapic_register_intr(int irq, int vector, unsigned long trigger)
790 trigger == IOAPIC_LEVEL) 790 trigger == IOAPIC_LEVEL)
791 set_irq_chip_and_handler_name(irq, &ioapic_chip, 791 set_irq_chip_and_handler_name(irq, &ioapic_chip,
792 handle_fasteoi_irq, "fasteoi"); 792 handle_fasteoi_irq, "fasteoi");
793 else 793 else {
794 irq_desc[irq].status |= IRQ_DELAYED_DISABLE;
794 set_irq_chip_and_handler_name(irq, &ioapic_chip, 795 set_irq_chip_and_handler_name(irq, &ioapic_chip,
795 handle_edge_irq, "edge"); 796 handle_edge_irq, "edge");
797 }
796} 798}
797 799
798static void __init setup_IO_APIC_irqs(void) 800static void __init setup_IO_APIC_irqs(void)