From: Arnd Bergmann Date: Wed, 4 Oct 2017 10:28:18 +0000 (+0200) Subject: KVM: add X86_LOCAL_APIC dependency X-Git-Tag: android-x86-7.1-r2~1^2~110^2~21 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=703d672a63e1feeb6f86a17b8bd09ce37bb3a31a;p=android-x86%2Fkernel.git KVM: add X86_LOCAL_APIC dependency commit e42eef4ba38806b18c4a74f0c276fb2e0b548173 upstream. The rework of the posted interrupt handling broke building without support for the local APIC: ERROR: "boot_cpu_physical_apicid" [arch/x86/kvm/kvm-intel.ko] undefined! That configuration is probably not particularly useful anyway, so we can avoid the randconfig failures by adding a Kconfig dependency. Fixes: 8b306e2f3c41 ("KVM: VMX: avoid double list add with VT-d posted interrupts") Signed-off-by: Arnd Bergmann Signed-off-by: Radim Krčmář Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index 66da97d79ef8..9150e09773cb 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -23,6 +23,7 @@ config KVM depends on HIGH_RES_TIMERS # for TASKSTATS/TASK_DELAY_ACCT: depends on NET && MULTIUSER + depends on X86_LOCAL_APIC select PREEMPT_NOTIFIERS select MMU_NOTIFIER select ANON_INODES