From: Sean Christopherson Date: Thu, 16 Jul 2020 03:41:16 +0000 (-0700) Subject: KVM: VMX: Drop a duplicate declaration of construct_eptp() X-Git-Tag: v5.9-rc1~121^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f291a358e0d88e3b20431266d8f78fc5eda1aec7;p=thirdparty%2Flinux.git KVM: VMX: Drop a duplicate declaration of construct_eptp() Remove an extra declaration of construct_eptp() from vmx.h. Signed-off-by: Sean Christopherson Message-Id: <20200716034122.5998-4-sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini --- diff --git a/arch/x86/kvm/vmx/vmx.h b/arch/x86/kvm/vmx/vmx.h index 0d06951e607ce..0e8d25b0cec35 100644 --- a/arch/x86/kvm/vmx/vmx.h +++ b/arch/x86/kvm/vmx/vmx.h @@ -537,8 +537,6 @@ static inline struct vmcs *alloc_vmcs(bool shadow) GFP_KERNEL_ACCOUNT); } -u64 construct_eptp(struct kvm_vcpu *vcpu, unsigned long root_hpa); - static inline void decache_tsc_multiplier(struct vcpu_vmx *vmx) { vmx->current_tsc_ratio = vmx->vcpu.arch.tsc_scaling_ratio;