On Thu, 17 Mar 2016 14:19:16 +0000 Jon Hunter <[email protected]> wrote:
> Instead of passing the GIC index to the save/restore functions pass a > pointer to the GIC chip data. This will allow these save/restore > functions to be re-used by a platform driver where the GIC chip data > structure is allocated dynamically and so there is no applicable index > for identifying the GIC. > > Signed-off-by: Jon Hunter <[email protected]> Eventually, I'd like to move to a situation where we don't statically allocate the chip data anymore, and kill CONFIG_ARM_GIC_MAX_NR altogether. This is obviously a step in the right direction. Acked-by: Marc Zyngier <[email protected]> M. -- Jazz is not dead. It just smells funny.

