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

Like Xu posted 14 patches 3 years, 5 months ago
[PATCH 03/14] KVM: x86: Remove unnecessary export of kvm_get_apic_base()
Posted by Like Xu 3 years, 5 months ago
From: Like Xu <likexu@tencent.com>

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

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

diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index e46e458c5b08..1c5a675dc04a 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -463,7 +463,6 @@ u64 kvm_get_apic_base(struct kvm_vcpu *vcpu)
 {
 	return vcpu->arch.apic_base;
 }
-EXPORT_SYMBOL_GPL(kvm_get_apic_base);
 
 enum lapic_mode kvm_get_apic_mode(struct kvm_vcpu *vcpu)
 {
-- 
2.38.1