Re: [PATCH] generic irq subsystem: ppc64 port
From: Ingo Molnar
Date: Tue Oct 19 2004 - 04:16:52 EST
* Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/