include/linux/kvm_host.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
From: Wang Liang <wangliangzz@inspur.com>
Make parameters in function declaration consistent with
those in function definition for better cscope-ability
Signed-off-by: Wang Liang <wangliangzz@inspur.com>
---
include/linux/kvm_host.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index f4519d3689e1..a2c71c205fd1 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -1345,7 +1345,7 @@ void kvm_arch_vcpu_unblocking(struct kvm_vcpu *vcpu);
bool kvm_vcpu_wake_up(struct kvm_vcpu *vcpu);
void kvm_vcpu_kick(struct kvm_vcpu *vcpu);
int kvm_vcpu_yield_to(struct kvm_vcpu *target);
-void kvm_vcpu_on_spin(struct kvm_vcpu *vcpu, bool usermode_vcpu_not_eligible);
+void kvm_vcpu_on_spin(struct kvm_vcpu *vcpu, bool yield_to_kernel_mode);
void kvm_flush_remote_tlbs(struct kvm *kvm);
--
2.31.1
On Tue, 20 Sep 2022 14:02:10 +0800, wangliangzz@126.com wrote:
> Make parameters in function declaration consistent with
> those in function definition for better cscope-ability
>
>
Applied to kvm-x86 generic, thanks!
[1/1] kvm_host.h: fix spelling typo in function declaration
https://github.com/kvm-x86/linux/commit/b6ca5cb72f58
--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes
On Tue, Sep 20, 2022, wangliangzz@126.com wrote: > From: Wang Liang <wangliangzz@inspur.com> > > Make parameters in function declaration consistent with > those in function definition for better cscope-ability > > Signed-off-by: Wang Liang <wangliangzz@inspur.com> > --- Reviewed-by: Sean Christopherson <seanjc@google.com>
© 2016 - 2026 Red Hat, Inc.