[PATCH] generic irq subsystem: ppc64 port
Christoph Hellwig
hch at infradead.org
Tue Oct 19 18:41:32 EST 2004
On Tue, Oct 19, 2004 at 06:28:20PM +1000, Benjamin Herrenschmidt wrote:
> Hi !
>
> That patch will unfortunately break a load of ppc64 boxes.
>
> If you look closely at the ppc64 code, you'll notice we don't
> use the irq_desc array directly but go through a get_irq_desc()
> accessor. This is because our interrupt numbers can be very
> large and scattered, and thus we have a remapping tree.
>
> I still like the idea of the patch, so it would be useful if
> you added the possibility for us to just change that behaviour,
> that is replace all occursences of irq_descs + i with get_irq_desc()
> and provide a generic one that just does that, with a #ifndef so
> that the architecture can provide it's own.
>
> If you agree with the principle, though, I suppose I can do it
> and send a proposed patch tomorrow.
The PPC64 changes were actually my fault. I think get_irq_desc() is okay.
More information about the Linuxppc64-dev
mailing list