summaryrefslogtreecommitdiff
path: root/arch/um/Kconfig.debug
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2011-05-25 04:13:01 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 19:39:41 +0400
commitd634f194d4e2e58d57927c812aca097e67a2287d (patch)
treeca17ff43725293ea0bda7a7d7e8ed23ad4f89e14 /arch/um/Kconfig.debug
parent2525e70d492f8c7bbe1292db8fcd973607a56ac6 (diff)
downloadlinux-d634f194d4e2e58d57927c812aca097e67a2287d.tar.xz
um: add earlyprintk support
User Mode Linux can also benefit from earlyprintk. UML's earlyprintk writes kernel messages directly to stdout. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/Kconfig.debug')
-rw-r--r--arch/um/Kconfig.debug10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/um/Kconfig.debug b/arch/um/Kconfig.debug
index 8fce5e536b0f..85c86edd1e67 100644
--- a/arch/um/Kconfig.debug
+++ b/arch/um/Kconfig.debug
@@ -37,4 +37,14 @@ config DEBUG_STACK_USAGE
stack seen so far.
This option will slow down process creation and destruction somewhat.
+
+config EARLY_PRINTK
+ bool "Early printk"
+ default y
+ ---help---
+ Write kernel log output directly to stdout.
+
+ This is useful for kernel debugging when your machine crashes very
+ early before the console code is initialized.
+
endmenu