]> 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)
commita9e5e27df56447ed820efb1cde0427126b23d189
treeb45b67f7ca1783045cc2ccafadd7d3e71e37ec0a
parent47dff3145ff89fe6ebe17562919b59619fa3f70c
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: e3fed5252a9a ("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