diff options
Diffstat (limited to 'arch/x86_64/kernel/i8259.c')
-rw-r--r-- | arch/x86_64/kernel/i8259.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/x86_64/kernel/i8259.c b/arch/x86_64/kernel/i8259.c index 0612a33bb896..d73c79e821f1 100644 --- a/arch/x86_64/kernel/i8259.c +++ b/arch/x86_64/kernel/i8259.c | |||
@@ -76,7 +76,8 @@ BUILD_16_IRQS(0xc) BUILD_16_IRQS(0xd) BUILD_16_IRQS(0xe) BUILD_16_IRQS(0xf) | |||
76 | IRQ(x,8), IRQ(x,9), IRQ(x,a), IRQ(x,b), \ | 76 | IRQ(x,8), IRQ(x,9), IRQ(x,a), IRQ(x,b), \ |
77 | IRQ(x,c), IRQ(x,d), IRQ(x,e), IRQ(x,f) | 77 | IRQ(x,c), IRQ(x,d), IRQ(x,e), IRQ(x,f) |
78 | 78 | ||
79 | void (*interrupt[NR_IRQS])(void) = { | 79 | /* for the irq vectors */ |
80 | static void (*interrupt[NR_VECTORS - FIRST_EXTERNAL_VECTOR])(void) = { | ||
80 | IRQLIST_16(0x2), IRQLIST_16(0x3), | 81 | IRQLIST_16(0x2), IRQLIST_16(0x3), |
81 | IRQLIST_16(0x4), IRQLIST_16(0x5), IRQLIST_16(0x6), IRQLIST_16(0x7), | 82 | IRQLIST_16(0x4), IRQLIST_16(0x5), IRQLIST_16(0x6), IRQLIST_16(0x7), |
82 | IRQLIST_16(0x8), IRQLIST_16(0x9), IRQLIST_16(0xa), IRQLIST_16(0xb), | 83 | IRQLIST_16(0x8), IRQLIST_16(0x9), IRQLIST_16(0xa), IRQLIST_16(0xb), |
@@ -178,7 +179,8 @@ void make_8259A_irq(unsigned int irq) | |||
178 | { | 179 | { |
179 | disable_irq_nosync(irq); | 180 | disable_irq_nosync(irq); |
180 | io_apic_irqs &= ~(1<<irq); | 181 | io_apic_irqs &= ~(1<<irq); |
181 | set_irq_chip_and_handler(irq, &i8259A_chip, handle_level_irq); | 182 | set_irq_chip_and_handler_name(irq, &i8259A_chip, handle_level_irq, |
183 | "XT"); | ||
182 | enable_irq(irq); | 184 | enable_irq(irq); |
183 | } | 185 | } |
184 | 186 | ||
@@ -431,8 +433,8 @@ void __init init_ISA_irqs (void) | |||
431 | /* | 433 | /* |
432 | * 16 old-style INTA-cycle interrupts: | 434 | * 16 old-style INTA-cycle interrupts: |
433 | */ | 435 | */ |
434 | set_irq_chip_and_handler(i, &i8259A_chip, | 436 | set_irq_chip_and_handler_name(i, &i8259A_chip, |
435 | handle_level_irq); | 437 | handle_level_irq, "XT"); |
436 | } else { | 438 | } else { |
437 | /* | 439 | /* |
438 | * 'high' PCI IRQs filled in on demand | 440 | * 'high' PCI IRQs filled in on demand |