diff options
Diffstat (limited to 'arch/arm/mach-dove')
-rw-r--r-- | arch/arm/mach-dove/irq.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-dove/irq.c b/arch/arm/mach-dove/irq.c index 101707fa2e2c..aac6e23763e0 100644 --- a/arch/arm/mach-dove/irq.c +++ b/arch/arm/mach-dove/irq.c | |||
@@ -86,8 +86,7 @@ static void pmu_irq_handler(unsigned int irq, struct irq_desc *desc) | |||
86 | if (!(cause & (1 << irq))) | 86 | if (!(cause & (1 << irq))) |
87 | continue; | 87 | continue; |
88 | irq = pmu_to_irq(irq); | 88 | irq = pmu_to_irq(irq); |
89 | desc = irq_desc + irq; | 89 | generic_handle_irq(irq); |
90 | desc_handle_irq(irq, desc); | ||
91 | } | 90 | } |
92 | } | 91 | } |
93 | 92 | ||
@@ -124,7 +123,7 @@ void __init dove_init_irq(void) | |||
124 | for (i = IRQ_DOVE_PMU_START; i < NR_IRQS; i++) { | 123 | for (i = IRQ_DOVE_PMU_START; i < NR_IRQS; i++) { |
125 | set_irq_chip(i, &pmu_irq_chip); | 124 | set_irq_chip(i, &pmu_irq_chip); |
126 | set_irq_handler(i, handle_level_irq); | 125 | set_irq_handler(i, handle_level_irq); |
127 | irq_desc[i].status |= IRQ_LEVEL; | 126 | irq_set_status_flags(i, IRQ_LEVEL); |
128 | set_irq_flags(i, IRQF_VALID); | 127 | set_irq_flags(i, IRQF_VALID); |
129 | } | 128 | } |
130 | set_irq_chained_handler(IRQ_DOVE_PMU, pmu_irq_handler); | 129 | set_irq_chained_handler(IRQ_DOVE_PMU, pmu_irq_handler); |