[PATCH 1/3] powerpc/mpic: Fix confusion between hw_irq and virq

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Apr 24 06:22:36 EST 2012


On Mon, 2012-04-23 at 11:32 -0600, Grant Likely wrote:
> On Fri, 20 Apr 2012 13:29:34 +1000, Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:
> > mpic_is_ipi() takes a virq and immediately converts it to a hw_irq.
> > 
> > However, one of the two call sites calls it with a ... hw_irq. The
> > other call site also happens to have the hw_irq at hand, so let's
> > change it to just take that as an argument. Also change mpic_is_tm()
> > for consistency.
> > 
> > Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> 
> Looks good to me.  Are you pushing these up to Linus for v3.4?

Already did :-)

Cheers,
Ben.




More information about the Linuxppc-dev mailing list