mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-24 19:40:21 +09:00
ARM64/KVM: Fix unaligned exception in vgic driver.
Re: kvm oops vgic_v2_sync_lr_elrsr http://www.spinics.net/lists/kvm-arm/msg11336.html Change-Id: I1925698088613b32f22811f6b6db1433e7b4043b
This commit is contained in:
committed by
Chris Kim
parent
683a3af1ba
commit
c453c0cffc
@@ -71,7 +71,7 @@ static void vgic_v2_sync_lr_elrsr(struct kvm_vcpu *vcpu, int lr,
|
||||
struct vgic_lr lr_desc)
|
||||
{
|
||||
if (!(lr_desc.state & LR_STATE_MASK))
|
||||
set_bit(lr, (unsigned long *)vcpu->arch.vgic_cpu.vgic_v2.vgic_elrsr);
|
||||
__set_bit(lr, (unsigned long *)vcpu->arch.vgic_cpu.vgic_v2.vgic_elrsr);
|
||||
}
|
||||
|
||||
static u64 vgic_v2_get_elrsr(const struct kvm_vcpu *vcpu)
|
||||
|
||||
Reference in New Issue
Block a user