diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2014-08-26 06:03:36 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-09-03 09:10:54 -0400 |
commit | b0fee1dc7883c3c4b2319d384decdd1563cf30bb (patch) | |
tree | cdc77ca3b41e3a764db67617dccd962c519510d8 /drivers/irqchip/irq-or1k-pic.c | |
parent | 31b7b6a86e9b86b8d97b3bc47b22585074ad115b (diff) |
irqchip: or1k-pic: Convert to handle_domain_irq
Use the new handle_domain_irq method to handle interrupts.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Link: https://lkml.kernel.org/r/1409047421-27649-22-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/irqchip/irq-or1k-pic.c')
-rw-r--r-- | drivers/irqchip/irq-or1k-pic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-or1k-pic.c b/drivers/irqchip/irq-or1k-pic.c index 17ff033d9925..e93d079fe069 100644 --- a/drivers/irqchip/irq-or1k-pic.c +++ b/drivers/irqchip/irq-or1k-pic.c | |||
@@ -113,7 +113,7 @@ static inline int pic_get_irq(int first) | |||
113 | else | 113 | else |
114 | hwirq = hwirq + first - 1; | 114 | hwirq = hwirq + first - 1; |
115 | 115 | ||
116 | return irq_find_mapping(root_domain, hwirq); | 116 | return hwirq; |
117 | } | 117 | } |
118 | 118 | ||
119 | static void or1k_pic_handle_irq(struct pt_regs *regs) | 119 | static void or1k_pic_handle_irq(struct pt_regs *regs) |
@@ -121,7 +121,7 @@ static void or1k_pic_handle_irq(struct pt_regs *regs) | |||
121 | int irq = -1; | 121 | int irq = -1; |
122 | 122 | ||
123 | while ((irq = pic_get_irq(irq + 1)) != NO_IRQ) | 123 | while ((irq = pic_get_irq(irq + 1)) != NO_IRQ) |
124 | handle_IRQ(irq, regs); | 124 | handle_domain_irq(root_domain, irq, regs); |
125 | } | 125 | } |
126 | 126 | ||
127 | static int or1k_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) | 127 | static int or1k_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) |