[PATCH 14/14] KVM: x86: Remove unnecessary export of kvm_apic_update_apicv()

From: Like Xu
Date: Mon Nov 14 2022 - 04:59:20 EST


From: Like Xu <likexu@xxxxxxxxxxx>

Don't export x86's kvm_apic_update_apicv(), the helper isn't used by
KVM x86's vendor modules.

Signed-off-by: Like Xu <likexu@xxxxxxxxxxx>
---
arch/x86/kvm/lapic.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index f59e7db2af2f..b55042462d39 100644
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
@@ -2430,7 +2430,6 @@ void kvm_apic_update_apicv(struct kvm_vcpu *vcpu)
apic->isr_count = count_vectors(apic->regs + APIC_ISR);
}
}
-EXPORT_SYMBOL_GPL(kvm_apic_update_apicv);

void kvm_lapic_reset(struct kvm_vcpu *vcpu, bool init_event)
{
--
2.38.1