diff options
author | Petr Mladek <pmladek@suse.com> | 2021-08-30 14:56:28 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2021-08-30 14:56:28 +0200 |
commit | baa99c926718c1a1549a7e08383f53a8e2944f04 (patch) | |
tree | 8f67de8079f31dd743f910d0007fe6cb6c1d0274 /include/linux/printk.h | |
parent | 71af75b6929458d85f63c0649dc26d6f4c19729e (diff) | |
parent | 10102a890b543a8a08457dc69fa55bc032403c7d (diff) | |
download | linux-baa99c926718c1a1549a7e08383f53a8e2944f04.tar.gz linux-baa99c926718c1a1549a7e08383f53a8e2944f04.tar.bz2 linux-baa99c926718c1a1549a7e08383f53a8e2944f04.zip |
Merge branch 'for-5.15-verbose-console' into for-linus
Diffstat (limited to 'include/linux/printk.h')
-rw-r--r-- | include/linux/printk.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/linux/printk.h b/include/linux/printk.h index c1e176403967..da7a1de2257a 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -70,16 +70,7 @@ extern int console_printk[]; #define minimum_console_loglevel (console_printk[2]) #define default_console_loglevel (console_printk[3]) -static inline void console_silent(void) -{ - console_loglevel = CONSOLE_LOGLEVEL_SILENT; -} - -static inline void console_verbose(void) -{ - if (console_loglevel) - console_loglevel = CONSOLE_LOGLEVEL_MOTORMOUTH; -} +extern void console_verbose(void); /* strlen("ratelimit") + 1 */ #define DEVKMSG_STR_MAX_SIZE 10 |