diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-04-18 08:07:40 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-04-30 21:32:21 +0200 |
commit | 19e38336d71d22e27b60e70334ad572d4e3d0042 (patch) | |
tree | b45b67f7ca1783045cc2ccafadd7d3e71e37ec0a | |
parent | d6a85c322348aac02eeb11681c1f623145e66697 (diff) | |
download | linux-19e38336d71d22e27b60e70334ad572d4e3d0042.tar.gz linux-19e38336d71d22e27b60e70334ad572d4e3d0042.tar.bz2 linux-19e38336d71d22e27b60e70334ad572d4e3d0042.zip |
KVM: VMX: Include architectural defs header in capabilities.h
The capabilities header depends on asm/vmx.h but doesn't explicitly
include said file. This currently doesn't cause problems as all users
of capbilities.h first include asm/vmx.h, but the issue often results in
build errors if someone starts moving things around the VMX files.
Fixes: 3077c1910882 ("KVM: VMX: Move capabilities structs and helpers to dedicated file")
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | arch/x86/kvm/vmx/capabilities.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/vmx/capabilities.h b/arch/x86/kvm/vmx/capabilities.h index 854e144131c6..d6664ee3d127 100644 --- a/arch/x86/kvm/vmx/capabilities.h +++ b/arch/x86/kvm/vmx/capabilities.h @@ -2,6 +2,8 @@ #ifndef __KVM_X86_VMX_CAPS_H #define __KVM_X86_VMX_CAPS_H +#include <asm/vmx.h> + #include "lapic.h" extern bool __read_mostly enable_vpid; |