ARM: gic: add irq_domain support
authorRob Herring <rob.herring@calxeda.com>
Thu, 29 Sep 2011 02:25:31 +0000 (21:25 -0500)
committerArnd Bergmann <arnd@arndb.de>
Mon, 31 Oct 2011 13:03:24 +0000 (14:03 +0100)
Convert the gic interrupt controller to use irq domains in preparation
for device-tree binding and MULTI_IRQ. This allows for translation between
GIC interrupt IDs and Linux irq numbers.

The meaning of irq_offset has changed. It now is just the number of skipped
GIC interrupt IDs for the controller. It will be 16 for primary GIC and 32
for secondary GICs.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Tested-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>

No differences found