Эх сурвалжийг харах

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>
Radim Krčmář 11 жил өмнө
parent
commit
dab2087def
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      arch/x86/kvm/vmx.c

+ 1 - 0
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"