Re: [PATCH 14/16] powerpc: expand vs demux ipi actions per message

2008-10-10 Thread Geert Uytterhoeven
On Fri, 10 Oct 2008, Milton Miller wrote: > +/* > + * irq controllers that have dedicated ipis per message and don't > + * need additional code in the action handler may use this > + */ > +extern int smp_request_message_ipi(int irq, int message); ^^^ ^

[PATCH 14/16] powerpc: expand vs demux ipi actions per message

2008-10-10 Thread Milton Miller
With the new generic smp call function helpers, I noticed the code in smp_message_recv was a single function call in many cases. While getting the message number from the ipi data is easy, we can reduce the path length by a function call and a mult-way data dependent switch by registering seperate