diff options
author | John Ogness <[email protected]> | 2024-09-04 14:11:24 +0206 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2024-09-04 15:56:32 +0200 |
commit | fb9fabf3d86216961d1103ecbc33e98d5f6c48f5 (patch) | |
tree | 055350c243e9ec4761c8171fbcd50e7353b2fddc /lib/crypto/mpi/mpiutil.c | |
parent | 6cb58cfebb293286f5ce8f6fba3e29122308e9e0 (diff) |
printk: nbcon: Init @nbcon_seq to highest possible
When initializing an nbcon console, have nbcon_alloc() set
@nbcon_seq to the highest possible sequence number. For all
practical purposes, this will guarantee that the console
will have nothing to print until later when @nbcon_seq is
set to the proper initial printing value.
This will be particularly important once kthread printing is
introduced because nbcon_alloc() can create/start the kthread
before the desired initial sequence number is known.
Signed-off-by: John Ogness <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions