diff options
Diffstat (limited to 'arch/mips/jazz/irq.c')
-rw-r--r-- | arch/mips/jazz/irq.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/mips/jazz/irq.c b/arch/mips/jazz/irq.c index 5c4f50cdf157..f8d417b5c2bb 100644 --- a/arch/mips/jazz/irq.c +++ b/arch/mips/jazz/irq.c | |||
@@ -39,19 +39,12 @@ void disable_r4030_irq(unsigned int irq) | |||
39 | spin_unlock_irqrestore(&r4030_lock, flags); | 39 | spin_unlock_irqrestore(&r4030_lock, flags); |
40 | } | 40 | } |
41 | 41 | ||
42 | static void end_r4030_irq(unsigned int irq) | ||
43 | { | ||
44 | if (!(irq_desc[irq].status & (IRQ_DISABLED|IRQ_INPROGRESS))) | ||
45 | enable_r4030_irq(irq); | ||
46 | } | ||
47 | |||
48 | static struct irq_chip r4030_irq_type = { | 42 | static struct irq_chip r4030_irq_type = { |
49 | .typename = "R4030", | 43 | .typename = "R4030", |
50 | .ack = disable_r4030_irq, | 44 | .ack = disable_r4030_irq, |
51 | .mask = disable_r4030_irq, | 45 | .mask = disable_r4030_irq, |
52 | .mask_ack = disable_r4030_irq, | 46 | .mask_ack = disable_r4030_irq, |
53 | .unmask = enable_r4030_irq, | 47 | .unmask = enable_r4030_irq, |
54 | .end = end_r4030_irq, | ||
55 | }; | 48 | }; |
56 | 49 | ||
57 | void __init init_r4030_ints(void) | 50 | void __init init_r4030_ints(void) |