From: Sean Christopherson Date: Mon, 3 Dec 2018 21:52:55 +0000 (-0800) Subject: KVM: x86: Add requisite includes to hyperv.h X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3592cda6bc27fd6e73f73a6e793cbd0c09a07a36;p=openwrt%2Fstaging%2Fblogic.git KVM: x86: Add requisite includes to hyperv.h Until this point vmx.c has been the only consumer and included the file after many others. Prepare for multiple consumers, i.e. the shattering of vmx.c Signed-off-by: Sean Christopherson Signed-off-by: Paolo Bonzini --- diff --git a/arch/x86/kvm/hyperv.h b/arch/x86/kvm/hyperv.h index 0e66c12ed2c3..9c21c3479899 100644 --- a/arch/x86/kvm/hyperv.h +++ b/arch/x86/kvm/hyperv.h @@ -24,6 +24,8 @@ #ifndef __ARCH_X86_KVM_HYPERV_H__ #define __ARCH_X86_KVM_HYPERV_H__ +#include + static inline struct kvm_vcpu_hv *vcpu_to_hv_vcpu(struct kvm_vcpu *vcpu) { return &vcpu->arch.hyperv;