aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-10-04 12:28:18 +0200
committerRadim Krčmář <rkrcmar@redhat.com>2017-10-05 19:55:48 +0200
commite42eef4ba38806b18c4a74f0c276fb2e0b548173 (patch)
treee2ccc1c39b23b1cef28ad19e5c77492b281aa51a /arch
parentx86/kvm: Move kvm_fastop_exception to .fixup section (diff)
downloadlinux-dev-e42eef4ba38806b18c4a74f0c276fb2e0b548173.tar.xz
linux-dev-e42eef4ba38806b18c4a74f0c276fb2e0b548173.zip
KVM: add X86_LOCAL_APIC dependency
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 <arnd@arndb.de> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
index 3ea624452f93..3c48bc8bf08c 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