aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/irq_i8259.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/kernel/irq_i8259.c')
-rw-r--r--arch/alpha/kernel/irq_i8259.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/alpha/kernel/irq_i8259.c b/arch/alpha/kernel/irq_i8259.c
index 39299fbb637..9e493958895 100644
--- a/arch/alpha/kernel/irq_i8259.c
+++ b/arch/alpha/kernel/irq_i8259.c
@@ -79,7 +79,8 @@ i8259a_startup_irq(unsigned int irq)
79void 79void
80i8259a_end_irq(unsigned int irq) 80i8259a_end_irq(unsigned int irq)
81{ 81{
82 if (!(irq_desc[irq].status & (IRQ_DISABLED|IRQ_INPROGRESS))) 82 struct irq_desc *desc = irq_to_desc(irq);
83 if (desc || !(desc->status & (IRQ_DISABLED|IRQ_INPROGRESS)))
83 i8259a_enable_irq(irq); 84 i8259a_enable_irq(irq);
84} 85}
85 86