Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Radim Krčmář and committed by
Paolo Bonzini
dab2087d d44e1212

+1
+1
arch/x86/kvm/vmx.c
··· 45 45 #include <asm/perf_event.h> 46 46 #include <asm/debugreg.h> 47 47 #include <asm/kexec.h> 48 + #include <asm/apic.h> 48 49 49 50 #include "trace.h" 50 51