irqchip/gic: Store GIC configuration parameters
authorJon Hunter <jonathanh@nvidia.com>
Tue, 10 May 2016 15:14:44 +0000 (16:14 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 11 May 2016 09:12:44 +0000 (10:12 +0100)
commitf673b9b5cb5453fa14032d99edd55f49ac3980cc
tree63f057448656eee982adc533095a01adfc93dba4
parent6e5b5924d9a897062527b6fc9b06f31f7bfd5744
irqchip/gic: Store GIC configuration parameters

Store the GIC configuration parameters in the GIC chip data structure.
This will allow us to simplify the code by reducing the number of
parameters passed between functions.

Update the __gic_init_bases() function so that we only need to pass a
pointer to the GIC chip data structure and no longer need to pass the
GIC index in order to look-up the chip data.

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