[PATCH] generic irq subsystem: ppc64 port

Ingo Molnar mingo at elte.hu
Tue Oct 19 19:15:57 EST 2004


* Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:

> 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. 

sure, we could do that. But since there are other architectures with
large irq-vector spaces too, you might want to try to move it into the
generic IRQ code and just provide a way to switch between 1:1 mapped and
sparse-mapped variants.

(of course this still means all of the direct indexing in kernel/irq/*.c
would have to change.)

	Ingo



More information about the Linuxppc64-dev mailing list