From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753286AbbBSA0t (ORCPT ); Wed, 18 Feb 2015 19:26:49 -0500 Received: from terminus.zytor.com ([198.137.202.10]:47592 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752375AbbBSA0q (ORCPT ); Wed, 18 Feb 2015 19:26:46 -0500 Date: Wed, 18 Feb 2015 16:26:33 -0800 From: tip-bot for Jan Beulich Message-ID: Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, jbeulich@suse.com, tglx@linutronix.de, mingo@kernel.org, JBeulich@suse.com Reply-To: JBeulich@suse.com, mingo@kernel.org, linux-kernel@vger.kernel.org, jbeulich@suse.com, hpa@zytor.com, tglx@linutronix.de In-Reply-To: <54D39CC6020000780005D6AE@mail.emea.novell.com> References: <54D39CC6020000780005D6AE@mail.emea.novell.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/build] x86/Kconfig: Avoid issuing pointless turned off entries to .config Git-Commit-ID: e0fd24a3b4ad7b4084b41944835952eedec53f98 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: e0fd24a3b4ad7b4084b41944835952eedec53f98 Gitweb: http://git.kernel.org/tip/e0fd24a3b4ad7b4084b41944835952eedec53f98 Author: Jan Beulich AuthorDate: Thu, 5 Feb 2015 15:39:34 +0000 Committer: Ingo Molnar CommitDate: Wed, 18 Feb 2015 22:08:46 +0100 x86/Kconfig: Avoid issuing pointless turned off entries to .config Settings without prompts shouldn't normally have defaults other than Y, as otherwise they (a) needlessly enlarge the resulting .config and (b) if they ever get a prompt added later, the tracked setting of off will prevent the devloper from then being prompted for his/her choice when doing an incremental update of the configuration (make oldconfig). Signed-off-by: Jan Beulich Link: http://lkml.kernel.org/r/54D39CC6020000780005D6AE@mail.emea.novell.com Signed-off-by: Ingo Molnar --- arch/x86/Kconfig | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 5e28e2b..463d883 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -233,12 +233,10 @@ config ARCH_WANT_GENERAL_HUGETLB def_bool y config ZONE_DMA32 - bool - default X86_64 + def_bool y if X86_64 config AUDIT_ARCH - bool - default X86_64 + def_bool y if X86_64 config ARCH_SUPPORTS_OPTIMIZED_INLINING def_bool y @@ -1115,10 +1113,10 @@ config MICROCODE_OLD_INTERFACE depends on MICROCODE config MICROCODE_INTEL_EARLY - def_bool n + bool config MICROCODE_AMD_EARLY - def_bool n + bool config MICROCODE_EARLY bool "Early load microcode"