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