xen/arm: protect LR registers and lr_mask changes with spin_lock_irq
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 9 Oct 2012 14:05:37 +0000 (15:05 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 9 Oct 2012 14:05:37 +0000 (15:05 +0100)
commitcebb4e854200d6247afe903692acc76a780e0020
tree8d126351913ec0f25373d29bb55465b7f296e1af
parent5598388e0b613cefbffef288adbd4b6a331a5445
xen/arm: protect LR registers and lr_mask changes with spin_lock_irq

GICH_LR registers and lr_mask need to be kept in sync: make sure that
their modifications are protected by spin_lock_irq(&gic.lock).

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/gic.c