Skip to content

Commit

Permalink
irqchip: sirfsoc: Convert to handle_domain_irq
Browse files Browse the repository at this point in the history
Use the new handle_domain_irq method to handle interrupts.

Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jason Cooper <[email protected]>
  • Loading branch information
Marc Zyngier authored and Jason Cooper committed Sep 3, 2014
1 parent cf86bfd commit c15018e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/irqchip/irq-sirfsoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
void __iomem *base = sirfsoc_irqdomain->host_data;
u32 irqstat, irqnr;
u32 irqstat;

irqstat = readl_relaxed(base + SIRFSOC_INIT_IRQ_ID);
irqnr = irq_find_mapping(sirfsoc_irqdomain, irqstat & 0xff);

handle_IRQ(irqnr, regs);
handle_domain_irq(sirfsoc_irqdomain, irqstat & 0xff, regs);
}

static int __init sirfsoc_irq_init(struct device_node *np,
Expand Down

0 comments on commit c15018e

Please sign in to comment.