mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
printk: Rename suspend_console to console_suspend_all
The function suspend_console has a misleading name, since it suspends all consoles, so rename it accordingly. Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com> Reviewed-by: Petr Mladek <pmladek@suse.com> Reviewed-by: John Ogness <john.ogness@linutronix.de> Link: https://lore.kernel.org/r/20250226-printk-renaming-v1-1-0b878577f2e6@suse.com [pmladek@suse.com: Fixed typo in the commit message.] Signed-off-by: Petr Mladek <pmladek@suse.com>
This commit is contained in:
committed by
Petr Mladek
parent
96c84703f1
commit
e9cec4487c
@@ -1007,7 +1007,7 @@ int kernel_kexec(void)
|
||||
error = -EBUSY;
|
||||
goto Restore_console;
|
||||
}
|
||||
suspend_console();
|
||||
console_suspend_all();
|
||||
error = dpm_suspend_start(PMSG_FREEZE);
|
||||
if (error)
|
||||
goto Resume_console;
|
||||
|
||||
Reference in New Issue
Block a user