浏览代码

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ář 10 年之前
父节点
当前提交
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"