Skip to content

Commit 2d4c3da

Browse files
committed
Hacked KVM so it actually works. Thanks to @apritzel for remembering the bug and what to fix.
1 parent f594dc3 commit 2d4c3da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virt/kvm/arm/vgic-v2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ static void vgic_v2_sync_lr_elrsr(struct kvm_vcpu *vcpu, int lr,
7171
struct vgic_lr lr_desc)
7272
{
7373
if (!(lr_desc.state & LR_STATE_MASK))
74-
set_bit(lr, (unsigned long *)vcpu->arch.vgic_cpu.vgic_v2.vgic_elrsr);
74+
__set_bit(lr, (unsigned long *)vcpu->arch.vgic_cpu.vgic_v2.vgic_elrsr);
7575
}
7676

7777
static u64 vgic_v2_get_elrsr(const struct kvm_vcpu *vcpu)

0 commit comments

Comments
 (0)