Skip to content
Commit 1ba11dae authored by Shaoqin Huang's avatar Shaoqin Huang Committed by Marc Zyngier
Browse files

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: default avatarShaoqin Huang <shahuang@redhat.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230727090754.1900310-1-shahuang@redhat.com
parent 6eaae198
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment