提交 47319f71 编写于 作者: T Tomeu Vizoso 提交者: Petr Mladek

printk: change message to pr_info

To allow userspace to prevent this message from appearing in the
console by changing the log priority.

This matches other informative messages that the power subsystem emits
when the system changes power states.

Link: http://lkml.kernel.org/r/20180322135833.16602-1-tomeu.vizoso@collabora.com
To: linux-kernel@vger.kernel.org
Cc: kernel@collabora.com
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: NTomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: NSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: NPetr Mladek <pmladek@suse.com>
上级 e36df28f
...@@ -2161,7 +2161,7 @@ void suspend_console(void) ...@@ -2161,7 +2161,7 @@ void suspend_console(void)
{ {
if (!console_suspend_enabled) if (!console_suspend_enabled)
return; return;
printk("Suspending console(s) (use no_console_suspend to debug)\n"); pr_info("Suspending console(s) (use no_console_suspend to debug)\n");
console_lock(); console_lock();
console_suspended = 1; console_suspended = 1;
up_console_sem(); up_console_sem();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册