Using spin_lock_irq here is unnecessary (interrupts are not yet enabled) and
wrong (since they will get unexpectedly renabled by spin_unlock_irq).
We can just use spin_lock/spin_unlock.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
/* Set up the per-CPU parts of the GIC for a secondary CPU */
void __cpuinit gic_init_secondary_cpu(void)
{
- spin_lock_irq(&gic.lock);
+ spin_lock(&gic.lock);
gic_cpu_init();
gic_hyp_init();
- spin_unlock_irq(&gic.lock);
+ spin_unlock(&gic.lock);
}
/* Shut down the per-CPU GIC interface */