]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: fix build without CONFIG_SMP
authorRadim Krčmář <rkrcmar@redhat.com>
Mon, 16 Feb 2015 14:36:33 +0000 (15:36 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 23 Feb 2015 21:28:48 +0000 (22:28 +0100)
commit11a8af35d6652df70268da5fc28266a9d0bbecf3
treed77c9d8059dc505296dd88ed8cfd27ba48689abd
parent3b7def4e0ac3d16b56c66dfc1c5de2d81650d9c8
KVM: VMX: fix build without CONFIG_SMP

'apic' is not defined if !CONFIG_X86_64 && !CONFIG_X86_LOCAL_APIC.
Posted interrupt makes no sense without CONFIG_SMP, and
CONFIG_X86_LOCAL_APIC will be set with it.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c