> Where exactly is this code in the kernel? Most arches assume the irq is > an index to a compact table bounded by NR_IRQS, so something like this > would violate that assumption.
Yes, which is no bad thing for some platforms. There are some driver assumptions like that but those have also been stomped.