Re: [PATCH] powerpc: mpic: minor optimization of ipi handler

2007-10-19 Thread Benjamin Herrenschmidt
On Fri, 2007-10-19 at 18:49 -0500, Olof Johansson wrote: > Optimize MPIC IPIs, by passing in the IPI number as the argument to the > handler, since all we did was translate it back based on which mpic > the interrupt came though on (and that was always the primary mpic). > > > Signed-off-by: Olo

Re: [PATCH] powerpc: mpic: minor optimization of ipi handler

2007-10-19 Thread Olof Johansson
Optimize MPIC IPIs, by passing in the IPI number as the argument to the handler, since all we did was translate it back based on which mpic the interrupt came though on (and that was always the primary mpic). Signed-off-by: Olof Johansson <[EMAIL PROTECTED]> --- On Fri, Oct 19, 2007 at 06:31:3

Re: [PATCH] powerpc: mpic: minor optimization of ipi handler

2007-10-19 Thread Olof Johansson
On Sat, Oct 20, 2007 at 09:17:39AM +1000, Benjamin Herrenschmidt wrote: > > On Fri, 2007-10-19 at 13:51 -0500, Olof Johansson wrote: > > Jeff Garzik pointed out that we don't actually have to lookup the mpic > > instance since it's passed in as the interrupt handler data for IPIs. > > Note that's

Re: [PATCH] powerpc: mpic: minor optimization of ipi handler

2007-10-19 Thread Benjamin Herrenschmidt
On Fri, 2007-10-19 at 13:51 -0500, Olof Johansson wrote: > Jeff Garzik pointed out that we don't actually have to lookup the mpic > instance since it's passed in as the interrupt handler data for IPIs. Note that's typically one of the annoying case where we use "irq" for a good reasons, getting t

[PATCH] powerpc: mpic: minor optimization of ipi handler

2007-10-19 Thread Olof Johansson
Jeff Garzik pointed out that we don't actually have to lookup the mpic instance since it's passed in as the interrupt handler data for IPIs. Signed-off-by: Olof Johansson <[EMAIL PROTECTED]> diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c index e479388..6bf56f4 100644 --- a/