printk: nbcon: Relocate nbcon_atomic_emit_one()
authorJohn Ogness <john.ogness@linutronix.de>
Wed, 4 Sep 2024 12:05:26 +0000 (14:11 +0206)
committerPetr Mladek <pmladek@suse.com>
Wed, 4 Sep 2024 13:56:32 +0000 (15:56 +0200)
commit9b79a3d0d64abae92457cb830baa6c6a717778b0
treeca6db3315c43c05bb50f2aa13cdf59e55b4039ce
parent76f258bf3f2aae570209319944703a92ac64e29e
printk: nbcon: Relocate nbcon_atomic_emit_one()

Move nbcon_atomic_emit_one() so that it can be used by
nbcon_kthread_func() in a follow-up commit.

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