diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2015-02-10 00:44:07 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-02-10 10:53:18 +0300 |
commit | dab2087defcb4afb2a5574d268b87257ba0f6b22 (patch) | |
tree | 56d85c3a94779acdf843b96720b366ec52d69b0f /arch/x86/kvm | |
parent | d44e1212230a68f9dccd1a95b5c8ca5217c62094 (diff) | |
download | linux-dab2087defcb4afb2a5574d268b87257ba0f6b22.tar.xz |
KVM: x86: fix build with !CONFIG_SMP
<asm/apic.h> isn't included directly and without CONFIG_SMP, an option
that automagically pulls it can't be enabled.
Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r-- | arch/x86/kvm/vmx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 6e112472b0b3..3f73bfad0349 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -45,6 +45,7 @@ #include <asm/perf_event.h> #include <asm/debugreg.h> #include <asm/kexec.h> +#include <asm/apic.h> #include "trace.h" |