diff options
author | Petr Mladek <pmladek@suse.com> | 2024-11-18 14:07:05 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2024-11-18 14:07:05 +0100 |
commit | 34767e5357fc8051b192ff3fd921ade7c1b37c46 (patch) | |
tree | 9a5035eed562a39281164e4ab95e5ea818d073f6 /kernel/printk/internal.h | |
parent | a961ec4e2860af4933e8c1763fe4f038c2d6ac80 (diff) | |
parent | da115c4ee29f589bb72ec2e86eb5e196b6bbcb41 (diff) |
Merge branch 'for-6.13-force-console' into for-linus
Diffstat (limited to 'kernel/printk/internal.h')
-rw-r--r-- | kernel/printk/internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/printk/internal.h b/kernel/printk/internal.h index 3fcb48502adb..c6bb47666aef 100644 --- a/kernel/printk/internal.h +++ b/kernel/printk/internal.h @@ -53,6 +53,8 @@ int devkmsg_sysctl_set_loglvl(const struct ctl_table *table, int write, /* Flags for a single printk record. */ enum printk_info_flags { + /* always show on console, ignore console_loglevel */ + LOG_FORCE_CON = 1, LOG_NEWLINE = 2, /* text ended with a newline */ LOG_CONT = 8, /* text is a fragment of a continuation line */ }; @@ -90,6 +92,7 @@ bool printk_percpu_data_ready(void); void defer_console_output(void); bool is_printk_legacy_deferred(void); +bool is_printk_force_console(void); u16 printk_parse_prefix(const char *text, int *level, enum printk_info_flags *flags); |