irqchip/gic-v3: Add redistributor iterator
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Dec 2016 17:00:38 +0000 (17:00 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 23 Aug 2017 10:09:14 +0000 (11:09 +0100)
commit0d94ded2689dd836f12ba1c64520377549facbde
treec4cec5877d8f8a84dd9ced6a90fa310fe3ffbd41
parent0abce64a55ae44d39b92f8e672736f4f324e610f
irqchip/gic-v3: Add redistributor iterator

In order to discover the VLPI properties, we need to iterate over
the redistributor regions. As we already have code that does this,
let's factor it out and make it slightly more generic.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3.c