Re: [RFC] killing the NR_IRQS arrays.

Benjamin Herrenschmidt
2007-02-18T20:02:38Z

> Except for the what appears to be instability of the irq numbers on
> simpler configurations I don't have a problem with it.

I agree that's a bit annoying and I beleive it can be fixed. In
additionm I'd like to look into exposing the domain/HW number -> virq
mapping somewhere in sysfs maybe.

> Until we find a solution for the user space side of things we seem to
> need the unsigned int irq number for user space. Now I don't want
> people mapping back and forth which is why I don't intend to provide a
> reverse function.

Ok.

> But of course there will be a for_each_irq in the genirq layer so if
> people really want to they will be able to go from the linux irq to
> an irq_desc. But we don't have to export that generically (except
> possibly something for the isa irqs).

Ok.

Ben.