irq: support domains with non-zero hwirq base
Interrupt controllers can have non-zero starting value for h/w irq numbers. Adding support in irq_domain allows the domain hwirq numbering to match the interrupt controllers' numbering. As this makes looping over irqs for a domain more complicated, add loop iterators to iterate over all hwirqs and irqs for a domain. Change-Id: I64774aea2f3efb883fe11e9f6161970f7e7dc0fc Signed-off-by:Rob Herring <rob.herring@calxeda.com> Reviewed-by:
Jamie Iles <jamie@jamieiles.com> Tested-by:
Thomas Abraham <thomas.abraham@linaro.org> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
Thomas Gleixner <tglx@linutronix.de> Signed-off-by:
Trilok Soni <tsoni@codeaurora.org>
Loading
Please sign in to comment