[PATCH 1/2] irqchip/gic: Only allow the primary GIC to set the CPU map

2015-07-30 Thread Jon Hunter
The gic_init_bases() function initialises an array that stores the mapping between the GIC and CPUs. This array is a global array that is unconditionally initialised on every call to gic_init_bases(). Although, it is not common for there to be more than one GIC instance, there are some devices

[PATCH 1/2] irqchip/gic: Only allow the primary GIC to set the CPU map

2015-07-30 Thread Jon Hunter
The gic_init_bases() function initialises an array that stores the mapping between the GIC and CPUs. This array is a global array that is unconditionally initialised on every call to gic_init_bases(). Although, it is not common for there to be more than one GIC instance, there are some devices