[PATCH] x86/Kconfig: simplify X86_IO_APIC dependencies

From: Jan Beulich
Date: Thu Feb 05 2015 - 10:35:28 EST


Since dependencies are transitive, we don't really need to repeat those
of X86_UP_IOAPIC.

Furthermore avoid the symbol getting entered into .config when it is
off by having the default simply Y and the dependencies solely handled
via the intended for that purpose "depends on".

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
arch/x86/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- 3.19-rc7/arch/x86/Kconfig
+++ 3.19-rc7-x86-Kconfig-UP-IOAPIC/arch/x86/Kconfig
@@ -890,8 +890,8 @@ config X86_LOCAL_APIC
select GENERIC_IRQ_LEGACY_ALLOC_HWIRQ

config X86_IO_APIC
- def_bool X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_IOAPIC
- depends on X86_LOCAL_APIC
+ def_bool y
+ depends on X86_LOCAL_APIC || X86_UP_IOAPIC
select IRQ_DOMAIN

config X86_REROUTE_FOR_BROKEN_BOOT_IRQS



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/