diff options
author | Richard Weinberger <richard@nod.at> | 2011-05-24 20:13:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 11:39:41 -0400 |
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 8fce5e536b0f..85c86edd1e67 100644 --- a/arch/um/Kconfig.debug +++ b/arch/um/Kconfig.debug | |||
@@ -37,4 +37,14 @@ config DEBUG_STACK_USAGE | |||
37 | stack seen so far. | 37 | stack seen so far. |
38 | 38 | ||
39 | This option will slow down process creation and destruction somewhat. | 39 | This option will slow down process creation and destruction somewhat. |
40 | |||
41 | config EARLY_PRINTK | ||
42 | bool "Early printk" | ||
43 | default y | ||
44 | ---help--- | ||
45 | Write kernel log output directly to stdout. | ||
46 | |||
47 | This is useful for kernel debugging when your machine crashes very | ||
48 | early before the console code is initialized. | ||
49 | |||
40 | endmenu | 50 | endmenu |