aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/vmm/vmm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm64/vmm/vmm.c')
-rw-r--r--sys/arm64/vmm/vmm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm64/vmm/vmm.c b/sys/arm64/vmm/vmm.c
index aeda689f3b1a..bf52dc0fe916 100644
--- a/sys/arm64/vmm/vmm.c
+++ b/sys/arm64/vmm/vmm.c
@@ -469,9 +469,9 @@ vm_alloc_vcpu(struct vm *vm, int vcpuid)
}
void
-vm_slock_vcpus(struct vm *vm)
+vm_lock_vcpus(struct vm *vm)
{
- sx_slock(&vm->vcpus_init_lock);
+ sx_xlock(&vm->vcpus_init_lock);
}
void