ARM: KVM: vgic: take distributor lock on sync_hwstate path
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 1 Feb 2013 18:28:30 +0000 (18:28 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 22 Feb 2013 13:29:38 +0000 (13:29 +0000)
Now that the maintenance interrupt handling is actually out of the
handler itself, the code becomes quite racy as we can get preempted
while we process the state.

Wrapping this code around the distributor lock ensures that we're not
preempted and relatively race-free.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>

No differences found