summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/kvm_cache_regs.h
diff options
context:
space:
mode:
authorSean Christopherson2018-12-03 22:52:54 +0100
committerPaolo Bonzini2018-12-14 12:34:22 +0100
commit8ba2e525ecd7428e25d80f37c533612d62f2dc26 (patch)
tree9648bd1de4e4d224094c596a9663e5397ce340e1 /arch/x86/kvm/kvm_cache_regs.h
parentKVM: VMX: Alphabetize the includes in vmx.c (diff)
downloadkernel-qcow2-linux-8ba2e525ecd7428e25d80f37c533612d62f2dc26.tar.gz
kernel-qcow2-linux-8ba2e525ecd7428e25d80f37c533612d62f2dc26.tar.xz
kernel-qcow2-linux-8ba2e525ecd7428e25d80f37c533612d62f2dc26.zip
KVM: x86: Add requisite includes to kvm_cache_regs.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 <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/kvm_cache_regs.h')
-rw-r--r--arch/x86/kvm/kvm_cache_regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/kvm_cache_regs.h b/arch/x86/kvm/kvm_cache_regs.h
index 9619dcc2b325..f8f56a93358b 100644
--- a/arch/x86/kvm/kvm_cache_regs.h
+++ b/arch/x86/kvm/kvm_cache_regs.h
@@ -2,6 +2,8 @@
#ifndef ASM_KVM_CACHE_REGS_H
#define ASM_KVM_CACHE_REGS_H
+#include <linux/kvm_host.h>
+
#define KVM_POSSIBLE_CR0_GUEST_BITS X86_CR0_TS
#define KVM_POSSIBLE_CR4_GUEST_BITS \
(X86_CR4_PVI | X86_CR4_DE | X86_CR4_PCE | X86_CR4_OSFXSR \