diff mbox series

KVM: x86: hyper-v: Restore function kvm_hv_assist_page_enabled to export

Message ID CAPm50aKbzsMtgb3Cfux2nXOrOcHRZ5MP0ndKg9T0OQCqOsCa_w@mail.gmail.com (mailing list archive)
State New, archived
Headers show
Series KVM: x86: hyper-v: Restore function kvm_hv_assist_page_enabled to export | expand

Commit Message

Hao Peng Dec. 6, 2022, 9:18 a.m. UTC
From: Peng Hao <flyingpeng@tencent.com>

kvm_hv_assist_page_enabled() is called in export function
kvm_hv_get_assist_page().

Fixes: 0c2a04128f50 ("KVM: x86: remove unnecessary exports")
Signed-off-by: Peng Hao <flyingpeng@tencent.com>
---
 arch/x86/kvm/hyperv.c | 1 +
 1 file changed, 1 insertion(+)

--
2.27.0
diff mbox series

Patch

diff --git a/arch/x86/kvm/hyperv.c b/arch/x86/kvm/hyperv.c
index cc3e8c7d0850..2c7f2a26421e 100644
--- a/arch/x86/kvm/hyperv.c
+++ b/arch/x86/kvm/hyperv.c
@@ -898,6 +898,7 @@  bool kvm_hv_assist_page_enabled(struct kvm_vcpu *vcpu)
                return false;
        return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED;
 }
+EXPORT_SYMBOL_GPL(kvm_hv_assist_page_enabled);

 int kvm_hv_get_assist_page(struct kvm_vcpu *vcpu)
 {