]> git.baikalelectronics.ru Git - kernel.git/commitdiff
KVM: Rename ack_flush() to ack_kick()
authorLai Jiangshan <jiangshan.ljs@antgroup.com>
Sun, 5 Jun 2022 06:34:15 +0000 (14:34 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jun 2022 12:07:53 +0000 (08:07 -0400)
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>
virt/kvm/kvm_main.c

index a67e996cbf7f52c81b04383579e83e08eb955ba4..b13acbaa6d2ab00e573ea1432fd1a27afc26c8bf 100644 (file)
@@ -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;
 }