[PATCH] [2.6.22] powerpc: uninline and export virq_to_hw()

Olof Johansson olof at lixom.net
Mon Jun 4 15:27:07 EST 2007


On Mon, Jun 04, 2007 at 03:20:10PM +1000, Benjamin Herrenschmidt wrote:
> On Sun, 2007-06-03 at 23:47 -0500, Olof Johansson wrote:
> > Uninline virq_to_hw and export it so modules can use it. The
> > alternative
> > would be to export the irq_map array instead, but it's an infrequently
> > called function, and keeping the array unexported seems considerably
> > cleaner.
> 
> It's called in fairly hot IRQ code path (the PIC themselves use it) no ?

I looked before I did the change. All of those open-code it.


-Olof



More information about the Linuxppc-dev mailing list