Searched hist:"1 ba11dae" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm64/kvm/ |
H A D | arm.c | 1ba11dae Thu Jul 27 04:07:54 CDT 2023 Shaoqin Huang <shahuang@redhat.com> KVM: arm64: Use the known cpu id instead of smp_processor_id()
In kvm_arch_vcpu_load(), it has the parameter cpu which is the value of smp_processor_id(), so no need to get it again. Simply replace it.
Signed-off-by: Shaoqin Huang <shahuang@redhat.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230727090754.1900310-1-shahuang@redhat.com
|