aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/io_apic.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/io_apic.c')
-rw-r--r--arch/x86_64/kernel/io_apic.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c
index 44b55f833875..49e94f7994c5 100644
--- a/arch/x86_64/kernel/io_apic.c
+++ b/arch/x86_64/kernel/io_apic.c
@@ -696,11 +696,11 @@ static void ioapic_register_intr(int irq, int vector, unsigned long trigger)
696{ 696{
697 if ((trigger == IOAPIC_AUTO && IO_APIC_irq_trigger(irq)) || 697 if ((trigger == IOAPIC_AUTO && IO_APIC_irq_trigger(irq)) ||
698 trigger == IOAPIC_LEVEL) 698 trigger == IOAPIC_LEVEL)
699 set_irq_chip_and_handler(irq, &ioapic_chip, 699 set_irq_chip_and_handler_name(irq, &ioapic_chip,
700 handle_fasteoi_irq); 700 handle_fasteoi_irq, "fasteoi");
701 else 701 else
702 set_irq_chip_and_handler(irq, &ioapic_chip, 702 set_irq_chip_and_handler_name(irq, &ioapic_chip,
703 handle_edge_irq); 703 handle_edge_irq, "edge");
704} 704}
705 705
706static void __init setup_IO_APIC_irqs(void) 706static void __init setup_IO_APIC_irqs(void)
@@ -806,7 +806,7 @@ static void __init setup_ExtINT_IRQ0_pin(unsigned int apic, unsigned int pin, in
806 * The timer IRQ doesn't have to know that behind the 806 * The timer IRQ doesn't have to know that behind the
807 * scene we have a 8259A-master in AEOI mode ... 807 * scene we have a 8259A-master in AEOI mode ...
808 */ 808 */
809 set_irq_chip_and_handler(0, &ioapic_chip, handle_edge_irq); 809 set_irq_chip_and_handler_name(0, &ioapic_chip, handle_edge_irq, "edge");
810 810
811 /* 811 /*
812 * Add it to the IO-APIC irq-routing table: 812 * Add it to the IO-APIC irq-routing table:
@@ -1839,7 +1839,7 @@ int arch_setup_msi_irq(unsigned int irq, struct pci_dev *dev)
1839 1839
1840 write_msi_msg(irq, &msg); 1840 write_msi_msg(irq, &msg);
1841 1841
1842 set_irq_chip_and_handler(irq, &msi_chip, handle_edge_irq); 1842 set_irq_chip_and_handler_name(irq, &msi_chip, handle_edge_irq, "edge");
1843 1843
1844 return 0; 1844 return 0;
1845} 1845}
@@ -1936,7 +1936,8 @@ int arch_setup_ht_irq(unsigned int irq, struct pci_dev *dev)
1936 write_ht_irq_low(irq, low); 1936 write_ht_irq_low(irq, low);
1937 write_ht_irq_high(irq, high); 1937 write_ht_irq_high(irq, high);
1938 1938
1939 set_irq_chip_and_handler(irq, &ht_irq_chip, handle_edge_irq); 1939 set_irq_chip_and_handler_name(irq, &ht_irq_chip,
1940 handle_edge_irq, "edge");
1940 } 1941 }
1941 return vector; 1942 return vector;
1942} 1943}