From 7518ba879f20f3c0636b4a1b88c22738988a89af Mon Sep 17 00:00:00 2001 From: Yaroslav Furman Date: Wed, 23 Dec 2020 00:45:56 +0300 Subject: [PATCH] kernel: decrease suspend-resume logging --- kernel/printk/printk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 9c74dca54d82..f9d22e4ee156 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -2192,7 +2192,7 @@ void suspend_console(void) { if (!console_suspend_enabled) return; - printk("Suspending console(s) (use no_console_suspend to debug)\n"); + console_lock(); console_suspended = 1; up_console_sem();