diff options
author | Shaoqin Huang <[email protected]> | 2023-07-27 05:07:54 -0400 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2023-07-28 09:50:08 +0100 |
commit | 1ba11daef0a9b062e40b5393d285c82ab6483730 (patch) | |
tree | c30b6d302368fa79f1e8e3686a3bf26dbc2fc33e /lib/memory-notifier-error-inject.c | |
parent | 6eaae198076080886b9e7d57f4ae06fa782f90ef (diff) |
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 <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions