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)
commit21bc8dc5b729dbeecb43adff23b74b51321e1897
treed77c9d8059dc505296dd88ed8cfd27ba48689abd
parent91314cb0053877991fd7b4749bb4b54d6bd6992f
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