diff options
Diffstat (limited to 'sys/riscv/vmm/vmm.c')
| -rw-r--r-- | sys/riscv/vmm/vmm.c | 4 | 
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/riscv/vmm/vmm.c b/sys/riscv/vmm/vmm.c index 24b4be89af48..a9eb9d144336 100644 --- a/sys/riscv/vmm/vmm.c +++ b/sys/riscv/vmm/vmm.c @@ -319,10 +319,6 @@ vm_alloc_vcpu(struct vm *vm, int vcpuid)  	if (vcpuid < 0 || vcpuid >= vm_get_maxcpus(vm))  		return (NULL); -	/* Some interrupt controllers may have a CPU limit */ -	if (vcpuid >= aplic_max_cpu_count(vm->cookie)) -		return (NULL); -  	vcpu = (struct vcpu *)  	    atomic_load_acq_ptr((uintptr_t *)&vm->vcpu[vcpuid]);  	if (__predict_true(vcpu != NULL))  | 
