irqchip/gic: Add helper functions for GIC setup and teardown
authorJon Hunter <jonathanh@nvidia.com>
Tue, 10 May 2016 15:14:45 +0000 (16:14 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 11 May 2016 09:12:44 +0000 (10:12 +0100)
commitd6490461a102094891d8a2712c51365f86ac1a40
treee3fe1419962edd1ece543b25150103ba0edbd3c9
parentf673b9b5cb5453fa14032d99edd55f49ac3980cc
irqchip/gic: Add helper functions for GIC setup and teardown

Move the code that sets-up a GIC via device-tree into it's own
function and add a generic function for GIC teardown that can be used
for both device-tree and ACPI to unmap the GIC memory.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic.c