]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Include architectural defs header in capabilities.h
authorSean Christopherson <sean.j.christopherson@intel.com>
Thu, 18 Apr 2019 15:07:40 +0000 (08:07 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Apr 2019 19:32:21 +0000 (21:32 +0200)
commit43455909bafadd69d2295efd3d4bec2eb692a478
treeb45b67f7ca1783045cc2ccafadd7d3e71e37ec0a
parent658bf61a0c5d08cee4cc22dbf6faed77f3acda38
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: 9e08ca2ab9a8 ("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>
arch/x86/kvm/vmx/capabilities.h