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>
This commit is contained in:
Richard Weinberger
2011-05-24 17:13:01 -07:00
committed by Linus Torvalds
父節點 2525e70d49
當前提交 d634f194d4
共有 5 個文件被更改,包括 50 次插入0 次删除

查看文件

@@ -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