diff options
author | Richard Weinberger <richard@nod.at> | 2011-05-24 17:13:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 08:39:41 -0700 |
commit | d634f194d4e2e58d57927c812aca097e67a2287d (patch) | |
tree | ca17ff43725293ea0bda7a7d7e8ed23ad4f89e14 /arch/um/Kconfig.debug | |
parent | 2525e70d492f8c7bbe1292db8fcd973607a56ac6 (diff) |
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.debug | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/um/Kconfig.debug b/arch/um/Kconfig.debug index 8fce5e536b0..85c86edd1e6 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 |