linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/Kconfig: simplify X86_IO_APIC dependencies
@ 2015-02-05 15:35 Jan Beulich
  2015-02-19  0:26 ` [tip:x86/build] x86/Kconfig: Simplify " tip-bot for Jan Beulich
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2015-02-05 15:35 UTC (permalink / raw)
  To: mingo, tglx, hpa; +Cc: linux-kernel

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>
---
 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip:x86/build] x86/Kconfig: Simplify X86_IO_APIC dependencies
  2015-02-05 15:35 [PATCH] x86/Kconfig: simplify X86_IO_APIC dependencies Jan Beulich
@ 2015-02-19  0:26 ` tip-bot for Jan Beulich
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Jan Beulich @ 2015-02-19  0:26 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: mingo, JBeulich, jbeulich, linux-kernel, hpa, tglx

Commit-ID:  b1da1e715d4faf01468b7f45f7098922bc85ea8e
Gitweb:     http://git.kernel.org/tip/b1da1e715d4faf01468b7f45f7098922bc85ea8e
Author:     Jan Beulich <JBeulich@suse.com>
AuthorDate: Thu, 5 Feb 2015 15:35:21 +0000
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Wed, 18 Feb 2015 22:09:33 +0100

x86/Kconfig: Simplify X86_IO_APIC dependencies

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>
---
 arch/x86/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 463d883..afb75f5 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -893,8 +893,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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-19  0:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-05 15:35 [PATCH] x86/Kconfig: simplify X86_IO_APIC dependencies Jan Beulich
2015-02-19  0:26 ` [tip:x86/build] x86/Kconfig: Simplify " tip-bot for Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).