[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140901121626.7bd01dbe@bbrezillon>
Date: Mon, 1 Sep 2014 12:16:26 +0200
From: Boris BREZILLON <boris.brezillon@...e-electrons.com>
To: Marc Zyngier <marc.zyngier@....com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-omap@...r.kernel.org, linux@...ts.openrisc.net,
mark.rutland@....com, tony@...mide.com, catalin.marinas@....com,
will.deacon@....com, tglx@...utronix.de, jonas@...thpole.se,
lorenzo.pieralisi@....com, linux@....linux.org.uk,
shc_work@...l.ru, khilman@...aro.org, jason@...edaemon.net,
stefan.kristiansson@...nalahti.fi, larry.bassel@...aro.org,
shawn.guo@...escale.com, baohua@...nel.org, sboyd@...eaurora.org,
kernel@...gutronix.de, sudeep.holla@....com,
schwidefsky@...ibm.com, maxime.ripard@...e-electrons.com,
vkale@....com
Subject: Re: [PATCH v2 19/26] irqchip: atmel-aic: convert to
handle_domain_irq
On Tue, 26 Aug 2014 11:03:34 +0100
Marc Zyngier <marc.zyngier@....com> wrote:
> Use the new handle_domain_irq method to handle interrupts.
>
> Signed-off-by: Marc Zyngier <marc.zyngier@....com>
Acked-by: Boris Brezillon <boris.brezillon@...e-electrons.com>
> ---
> drivers/irqchip/irq-atmel-aic.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/irqchip/irq-atmel-aic.c b/drivers/irqchip/irq-atmel-aic.c
> index a82869e..9a2cf3c 100644
> --- a/drivers/irqchip/irq-atmel-aic.c
> +++ b/drivers/irqchip/irq-atmel-aic.c
> @@ -68,12 +68,10 @@ aic_handle(struct pt_regs *regs)
> irqnr = irq_reg_readl(gc->reg_base + AT91_AIC_IVR);
> irqstat = irq_reg_readl(gc->reg_base + AT91_AIC_ISR);
>
> - irqnr = irq_find_mapping(aic_domain, irqnr);
> -
> if (!irqstat)
> irq_reg_writel(0, gc->reg_base + AT91_AIC_EOICR);
> else
> - handle_IRQ(irqnr, regs);
> + handle_domain_irq(aic_domain, irqnr, regs);
> }
>
> static int aic_retrigger(struct irq_data *d)
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists