| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH] MIPS: EARLY_PRINTK: Fixup of dependency |
| From: | Wu Zhangjin <wuzhangjin@gmail.com> |
| Date: | Tue, 24 Nov 2009 17:33:50 +0800 |
| Cc: | Linux-MIPS <linux-mips@linux-mips.org>, Wu Zhangjin <wuzhangjin@gmail.com> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=XOI4V7OIW4iqexdNWb56UA4axgsbaAP/yu0d/s1rZNA=; b=TkseM5dsQirgiZu7bFLzsqGumeOXaU7IhceqW8DV8JcavweobxcZzZtrxD3gYIluO5 ZUiQA1zvIzCipPd04xW78tZRSmukdwvKYWVPrsdZTDq9x9gPcZxVyEyspLwFcK7bPba8 47jXUPdihKAdY3lhkm22jsu6lpMvPfOXBIGyQ= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=XPeloR48ZV6jORXda5lemqFJq1f7Uz+6LSa9kYOD/fkmZEnCF1lTIT29GFRKZWFJ5v +z8Qr5y/u+ZkTG1CSYX7g6Tr4avETs1D68ZIhSP5ZmpGcAJ9iq80Vgxt/e8hwJeVh81x R5lJqDMmq8b++iJiBf/khy9pEXhuFfcrVAroQ= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
From: Wu Zhangjin <wuzhangjin@gmail.com>
In the old version, if the platform select SYS_HAS_EARLY_PRINTK and
users not select DEBUG_KERNEL, there is no interface for user to enable
or disable the EARLY_PRINTK option, it will be enabled all the time.
this will waste a little bit of memory and slow down the booting of
kernel but the users never know it.
This patch will only enable that option when the DEBUG_KERNEL is
enabled.
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
arch/mips/Kconfig | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index b342197..d2446d5 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -824,8 +824,8 @@ config DMA_NEED_PCI_MAP_STATE
bool
config EARLY_PRINTK
- bool "Early printk" if EMBEDDED && DEBUG_KERNEL
- depends on SYS_HAS_EARLY_PRINTK
+ bool "Early printk" if EMBEDDED
+ depends on SYS_HAS_EARLY_PRINTK && DEBUG_KERNEL
default y
help
This option enables special console drivers which allow the kernel
--
1.6.2.1
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 3/3] MIPS: Alchemy: irq: use runtime CPU type detection, Manuel Lauss |
|---|---|
| Next by Date: | Re: linux-next: manual merge of the mips tree with the net-current tree, Florian Fainelli |
| Previous by Thread: | [PATCH] MIPS: IP22/IP28 Disable EARLY_PRINTK on make the system boot, Ralf Baechle |
| Next by Thread: | Re: [PATCH] MIPS: EARLY_PRINTK: Fixup of dependency, Manuel Lauss |
| Indexes: | [Date] [Thread] [Top] [All Lists] |