Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libsel4vm: Remove SMP config guard on vmpidr reg #125

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions libsel4vm/src/arch/arm/vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ int vcpu_start(vm_vcpu_t *vcpu)
seL4_Word vmpidr_val;
seL4_Word vmpidr_reg;

#if CONFIG_MAX_NUM_NODES > 1
#ifdef CONFIG_ARCH_AARCH64
vmpidr_reg = seL4_VCPUReg_VMPIDR_EL2;
#else
Expand All @@ -188,7 +187,6 @@ int vcpu_start(vm_vcpu_t *vcpu)
ZF_LOGE("Failed to set VMPIDR register");
return -1;
}
#endif
return seL4_TCB_Resume(vm_get_vcpu_tcb(vcpu));
}

Expand Down