2022-06-06 05:44:27

by Lai Jiangshan

[permalink] [raw]
Subject: [PATCH 4/6] KVM: Rename ack_flush() to ack_kick()

From: Lai Jiangshan <[email protected]>

Make it use the same verb as in kvm_kick_many_cpus().

Signed-off-by: Lai Jiangshan <[email protected]>
---
virt/kvm/kvm_main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index e089db822c12..00c899393418 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -235,7 +235,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)
{
}

@@ -244,7 +244,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;
}

--
2.19.1.6.gb485710b