KVM: x86: fix build with !CONFIG_SMP
authorRadim Krčmář <rkrcmar@redhat.com>
Mon, 9 Feb 2015 21:44:07 +0000 (22:44 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Feb 2015 07:53:18 +0000 (08:53 +0100)
<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>
arch/x86/kvm/vmx.c

index 6e112472b0b3ff693997ed2a7c8d15a1dc3bd9dd..3f73bfad0349e74042a9315ec20f978a9b5bec85 100644 (file)
@@ -45,6 +45,7 @@
 #include <asm/perf_event.h>
 #include <asm/debugreg.h>
 #include <asm/kexec.h>
+#include <asm/apic.h>
 
 #include "trace.h"