diff options
author | Lai Jiangshan <jiangshan.ljs@antgroup.com> | 2022-06-05 08:34:15 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-15 14:07:53 +0200 |
commit | f24b44e48d267092dd79dba1288dc73ac414447e (patch) | |
tree | 3fd810e6876752858a6d4ef44b804f0636560e27 /virt | |
parent | KVM: X86/MMU: Remove unused PT32_DIR_BASE_ADDR_MASK from mmu.c (diff) | |
download | linux-f24b44e48d267092dd79dba1288dc73ac414447e.tar.xz linux-f24b44e48d267092dd79dba1288dc73ac414447e.zip |
KVM: Rename ack_flush() to ack_kick()
Make it use the same verb as in kvm_kick_many_cpus().
Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Message-Id: <20220605063417.308311-5-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
-rw-r--r-- | virt/kvm/kvm_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index a67e996cbf7f..b13acbaa6d2a 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -239,7 +239,7 @@ static bool kvm_request_needs_ipi(struct kvm_vcpu *vcpu, unsigned req) return mode == IN_GUEST_MODE; } -static void ack_flush(void *_completed) +static void ack_kick(void *_completed) { } @@ -248,7 +248,7 @@ static inline bool kvm_kick_many_cpus(struct cpumask *cpus, bool wait) if (cpumask_empty(cpus)) return false; - smp_call_function_many(cpus, ack_flush, NULL, wait); + smp_call_function_many(cpus, ack_kick, NULL, wait); return true; } |