[PATCH] KVM: x86: hyper-v: Restore function kvm_hv_assist_page_enabled to export
From: Hao Peng
Date: Tue Dec 06 2022 - 04:21:37 EST
From: Peng Hao <flyingpeng@xxxxxxxxxxx>
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@xxxxxxxxxxx>
---
arch/x86/kvm/hyperv.c | 1 +
1 file changed, 1 insertion(+)
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)
{
--
2.27.0