irqchip: sirfsoc: Convert to handle_domain_irq
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Link: https://lkml.kernel.org/r/1409047421-27649-13-git-send-email-marc.zyngier@arm.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
parent
cf86bfdd68
commit
c15018e919
1 changed files with 2 additions and 4 deletions
|
@ -50,12 +50,10 @@ sirfsoc_alloc_gc(void __iomem *base, unsigned int irq_start, unsigned int num)
|
||||||
static void __exception_irq_entry sirfsoc_handle_irq(struct pt_regs *regs)
|
static void __exception_irq_entry sirfsoc_handle_irq(struct pt_regs *regs)
|
||||||
{
|
{
|
||||||
void __iomem *base = sirfsoc_irqdomain->host_data;
|
void __iomem *base = sirfsoc_irqdomain->host_data;
|
||||||
u32 irqstat, irqnr;
|
u32 irqstat;
|
||||||
|
|
||||||
irqstat = readl_relaxed(base + SIRFSOC_INIT_IRQ_ID);
|
irqstat = readl_relaxed(base + SIRFSOC_INIT_IRQ_ID);
|
||||||
irqnr = irq_find_mapping(sirfsoc_irqdomain, irqstat & 0xff);
|
handle_domain_irq(sirfsoc_irqdomain, irqstat & 0xff, regs);
|
||||||
|
|
||||||
handle_IRQ(irqnr, regs);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __init sirfsoc_irq_init(struct device_node *np,
|
static int __init sirfsoc_irq_init(struct device_node *np,
|
||||||
|
|
Loading…
Reference in a new issue