]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
x86/Kconfig: Simplify X86_IO_APIC dependencies
authorJan Beulich <JBeulich@suse.com>
Thu, 5 Feb 2015 15:35:21 +0000 (15:35 +0000)
committerJiri Slaby <jslaby@suse.cz>
Mon, 30 Jan 2017 12:17:07 +0000 (13:17 +0100)
commit b1da1e715d4faf01468b7f45f7098922bc85ea8e upstream.

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@suse.com>
Link: http://lkml.kernel.org/r/54D39BC9020000780005D688@mail.emea.novell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/x86/Kconfig

index 0cda30450825e4fcd6fde2fd84dc2c432fd15874..7255e3dee7992f92541f03f89f09bb4f194dbe81 100644 (file)
@@ -894,7 +894,7 @@ config X86_LOCAL_APIC
 
 config X86_IO_APIC
        def_bool y
-       depends on X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_IOAPIC || PCI_MSI
+       depends on X86_LOCAL_APIC || X86_UP_IOAPIC
 
 config X86_VISWS_APIC
        def_bool y