提交 c4772d99 编写于 作者: I Ingo Molnar

debug: turn ignore_loglevel into an early param

i was debugging early crashes and wondered where all the printks
went. The reason: ignore_loglevel_setup() was not called yet ...
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 5aff0531
...@@ -455,10 +455,10 @@ static int __init ignore_loglevel_setup(char *str) ...@@ -455,10 +455,10 @@ static int __init ignore_loglevel_setup(char *str)
ignore_loglevel = 1; ignore_loglevel = 1;
printk(KERN_INFO "debug: ignoring loglevel setting.\n"); printk(KERN_INFO "debug: ignoring loglevel setting.\n");
return 1; return 0;
} }
__setup("ignore_loglevel", ignore_loglevel_setup); early_param("ignore_loglevel", ignore_loglevel_setup);
/* /*
* Write out chars from start to end - 1 inclusive * Write out chars from start to end - 1 inclusive
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册