From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758044AbbBEPfX (ORCPT ); Thu, 5 Feb 2015 10:35:23 -0500 Received: from mail.emea.novell.com ([130.57.118.101]:42063 "EHLO mail.emea.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757600AbbBEPfW convert rfc822-to-8bit (ORCPT ); Thu, 5 Feb 2015 10:35:22 -0500 Message-Id: <54D39BC9020000780005D688@mail.emea.novell.com> X-Mailer: Novell GroupWise Internet Agent 14.0.1 Date: Thu, 05 Feb 2015 15:35:21 +0000 From: "Jan Beulich" To: , , Cc: Subject: [PATCH] x86/Kconfig: simplify X86_IO_APIC dependencies Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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