summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVincent Donnefort <vdonnefort@google.com>2026-03-09 19:25:07 +0300
committerMarc Zyngier <maz@kernel.org>2026-03-11 11:51:16 +0300
commit8bbeb4d1698fb0945107c69019c15207bbe605c9 (patch)
tree5429c774e9cd5762f108f5ba5777166e61b0aef9 /include/linux
parent405df5b55748d93d44666fd6005c60981094a077 (diff)
downloadlinux-8bbeb4d1698fb0945107c69019c15207bbe605c9.tar.xz
KVM: arm64: Initialise hyp_nr_cpus for nVHE hyp
Knowing the number of CPUs is necessary for determining the boundaries of per-cpu variables, which will be used for upcoming hypervisor tracing. hyp_nr_cpus which stores this value, is only initialised for the pKVM hypervisor. Make it accessible for the nVHE hypervisor as well. With the kernel now responsible for initialising hyp_nr_cpus, the nr_cpus parameter is no longer needed in __pkvm_init. Signed-off-by: Vincent Donnefort <vdonnefort@google.com> Link: https://patch.msgid.link/20260309162516.2623589-22-vdonnefort@google.com Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions