Re: [PATCH 12/15] irqchip/gic: Pass GIC pointer to save/restore functions

2016-04-09 Thread Marc Zyngier
On Thu, 17 Mar 2016 14:19:16 + Jon Hunter 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 dynamical

[PATCH 12/15] irqchip/gic: Pass GIC pointer to save/restore functions

2016-03-19 Thread Jon Hunter
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.