diff options
author | John Ogness <john.ogness@linutronix.de> | 2022-11-16 19:21:17 +0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2022-12-02 13:24:59 +0300 |
commit | b80ea0e81b3954e4c519e0c257b095e77cf94d86 (patch) | |
tree | aa41fb81e727a4a691fb2ad7cf2792f46c188d8b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1145703612462b9bab2a325c305408ebfb6de304 (diff) | |
download | linux-b80ea0e81b3954e4c519e0c257b095e77cf94d86.tar.xz |
printk: move @seq initialization to helper
The code to initialize @seq for a new console needs to consider
more factors when choosing an initial value. Move the code into
a helper function console_init_seq() "as is" so this code can
be expanded without causing register_console() to become too
long. A later commit will implement the additional code.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20221116162152.193147-6-john.ogness@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions