summaryrefslogtreecommitdiffstats
path: root/arch/um/Kconfig.debug
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2011-05-25 02:13:01 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 17:39:41 +0200
commitd634f194d4e2e58d57927c812aca097e67a2287d (patch)
treeca17ff43725293ea0bda7a7d7e8ed23ad4f89e14 /arch/um/Kconfig.debug
parentum: remove SIGHUP handler (diff)
downloadlinux-d634f194d4e2e58d57927c812aca097e67a2287d.tar.xz
linux-d634f194d4e2e58d57927c812aca097e67a2287d.zip
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