mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/Kconfig: avoid issuing pointless turned off entries to .config
@ 2015-02-05 15:39 Jan Beulich
  2015-02-19  0:26 ` [tip:x86/build] x86/Kconfig: Avoid " tip-bot for Jan Beulich
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2015-02-05 15:39 UTC (permalink / raw)
  To: mingo, tglx, hpa; +Cc: linux-kernel

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 <jbeulich@suse.com>
---
 arch/x86/Kconfig |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

--- 3.19-rc7/arch/x86/Kconfig
+++ 3.19-rc7-x86-Kconfig-cleanup/arch/x86/Kconfig
@@ -232,12 +232,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
@@ -1110,10 +1108,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"




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

end of thread, other threads:[~2015-02-19  0:26 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:39 [PATCH] x86/Kconfig: avoid issuing pointless turned off entries to .config Jan Beulich
2015-02-19  0:26 ` [tip:x86/build] x86/Kconfig: Avoid " 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

Powered by JetHome