From b643468280cd22ef8a2cfcccde05258e6f198ab5 Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Tue, 28 Jul 2015 13:24:23 -0400 Subject: [PATCH] IOAPIC defaults to y when LOAPIC is enabled For as long as the IOAPIC and LOAPIC code is coupled (as it currently is), enabling LOAPIC must select IOAPIC to be enabled as well. If future commits separate the two, then the "select IOAPIC" can be dropped. Change-Id: Ibe7e6b86e5add19b8b3cc68ebecce760d8914c86 Signed-off-by: Peter Mitsis --- drivers/interrupt_controller/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/interrupt_controller/Kconfig b/drivers/interrupt_controller/Kconfig index 38b8d576e5f..e1b0abe1b22 100644 --- a/drivers/interrupt_controller/Kconfig +++ b/drivers/interrupt_controller/Kconfig @@ -41,14 +41,15 @@ config PIC config LOAPIC bool "LOAPIC" default n + select IOAPIC depends on X86_32 help This option selects local APIC as the interrupt controller. config IOAPIC bool "IOAPIC" - default n - depends on X86_32 && LOAPIC + default y + depends on LOAPIC help This option signifies that the target has an IO-APIC device. This capability allows IO-APIC-dependent code to be included.