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)
commitce3859172ce09e6ff495290d8ba1d6c7f1a7b207
treebd4b035f08d3bccf64d0c8ce0e8787bea52f1502
parent73c25546d47f65165ae50f225272e05629fab164
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