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

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

Don't export x86's kvm_require_cpl(), 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 c03e599166b8..ee63b5ab507d 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -826,7 +826,6 @@ bool kvm_require_cpl(struct kvm_vcpu *vcpu, int required_cpl)
 	kvm_queue_exception_e(vcpu, GP_VECTOR, 0);
 	return false;
 }
-EXPORT_SYMBOL_GPL(kvm_require_cpl);
 
 bool kvm_require_dr(struct kvm_vcpu *vcpu, int dr)
 {
-- 
2.38.1