From: Sean Christopherson <sean.j.christopherson@intel.com>
Date: Fri, 22 Nov 2019 12:15:49 -0800
Subject: KVM: x86: Remove a spurious export of a static function
Git-commit: 24885d1d79e2e83d49201aeae0bc59f1402fd4f1
Patch-mainline: v5.5-rc1
References: bsc#1158954
A recent change inadvertently exported a static function, which results
in modpost throwing a warning. Fix it.
Fixes: cbbaa2727aa3 ("KVM: x86: fix presentation of TSX feature in ARCH_CAPABILITIES")
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Cc: stable@vger.kernel.org
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Joerg Roedel <jroedel@suse.de>
---
arch/x86/kvm/x86.c | 1 -
1 file changed, 1 deletion(-)
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -1105,8 +1105,6 @@ u64 kvm_get_arch_capabilities(void)
return data;
}
-EXPORT_SYMBOL_GPL(kvm_get_arch_capabilities);
-
static int kvm_get_msr_feature(struct kvm_msr_entry *msr)
{
switch (msr->index) {