]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Make kvm_hv_hypercall_enabled() static inline
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 2 Feb 2022 09:50:58 +0000 (10:50 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 18:50:44 +0000 (13:50 -0500)
commit3da1778f5a0f992646651399ce0fa5247434c0c2
treebd4b035f08d3bccf64d0c8ce0e8787bea52f1502
parent6448c5e14104e45c56a9536c8a6f6d2ba14c4a6d
KVM: x86: Make kvm_hv_hypercall_enabled() static inline

In preparation for using kvm_hv_hypercall_enabled() from SVM code, make
it static inline to avoid the need to export it. The function is a
simple check with only two call sites currently.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20220202095100.129834-3-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/hyperv.c
arch/x86/kvm/hyperv.h