]> www.infradead.org Git - users/dwmw2/linux.git/commit
printk: Track nbcon consoles
authorJohn Ogness <john.ogness@linutronix.de>
Tue, 20 Aug 2024 06:29:54 +0000 (08:35 +0206)
committerPetr Mladek <pmladek@suse.com>
Wed, 21 Aug 2024 12:56:25 +0000 (14:56 +0200)
commitbebd87ae27e052e390c203893c7ee46f54b0bf9e
tree0de6c951d527242c15e5dd9538a66835a381dcee
parent60013065fdc677df7b71f9a0bac501020e3bbd4f
printk: Track nbcon consoles

Add a global flag @have_nbcon_console to identify if any nbcon
consoles are registered. This will be used in follow-up commits
to preserve legacy behavior when no nbcon consoles are registered.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20240820063001.36405-29-john.ogness@linutronix.de
Signed-off-by: Petr Mladek <pmladek@suse.com>
kernel/printk/printk.c