Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756212AbbFPHqu (ORCPT ); Tue, 16 Jun 2015 03:46:50 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]:33688 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753126AbbFPHqm (ORCPT ); Tue, 16 Jun 2015 03:46:42 -0400 From: Alexander Kuleshov To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Cc: linux-kernel@vger.kernel.org, Alexander Kuleshov Subject: [PATCH] x86/Kconfig.debug: hide X86_VERBOSE_BOOTUP if EARLY_PRINTK is not set Date: Tue, 16 Jun 2015 13:46:19 +0600 Message-Id: <1434440779-19135-1-git-send-email-kuleshovmail@gmail.com> X-Mailer: git-send-email 2.4.0.596.ga5fe668 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1823 Lines: 52 The X86_VERBOSE_BOOTUP enables informational output from the decompression stage with the earlyprintk. If CONFIG_EARLY_PRINTK is not set, there are no reasons to make CONFIG_X86_VERBOSE_BOOTUP possible for the configuration. Signed-off-by: Alexander Kuleshov --- arch/x86/Kconfig.debug | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index 72484a6..53d096b 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug @@ -22,14 +22,6 @@ config STRICT_DEVMEM If in doubt, say Y. -config X86_VERBOSE_BOOTUP - bool "Enable verbose x86 bootup info messages" - default y - ---help--- - Enables the informational output from the decompression stage - (e.g. bzImage) of the boot. If you disable this you will still - see errors. Disable this if you want silent bootup. - config EARLY_PRINTK bool "Early printk" if EXPERT default y @@ -65,6 +57,15 @@ config EARLY_PRINTK_EFI This is useful for kernel debugging when your machine crashes very early before the console code is initialized. +config X86_VERBOSE_BOOTUP + bool "Enable verbose x86 bootup info messages" + depends on EARLY_PRINTK + default y + ---help--- + Enables the informational output from the decompression stage + (e.g. bzImage) of the boot. If you disable this you will still + see errors. Disable this if you want silent bootup. + config X86_PTDUMP bool "Export kernel pagetable layout to userspace via debugfs" depends on DEBUG_KERNEL -- 2.4.0.596.ga5fe668 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/