summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2021-11-18 10:03:47 +0100
committerPetr Mladek <pmladek@suse.com>2021-11-18 10:03:47 +0100
commitbf6d0d1e1ab38309ea2a234e2e4ba2a18d014af9 (patch)
treeacc97528dc62243c6379d0eb7c8823b861fd968b /include
parenta0ddee65c527d877e798205c1391c6170e580c66 (diff)
parent5d5e4522a7f404d1a96fd6c703989d32a9c9568d (diff)
Merge branch 'rework/printk_safe-removal' into for-linus
Diffstat (limited to 'include')
-rw-r--r--include/linux/printk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/printk.h b/include/linux/printk.h
index 85b656f82d75..9497f6b98339 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -198,6 +198,7 @@ void dump_stack_print_info(const char *log_lvl);
void show_regs_print_info(const char *log_lvl);
extern asmlinkage void dump_stack_lvl(const char *log_lvl) __cold;
extern asmlinkage void dump_stack(void) __cold;
+void printk_trigger_flush(void);
#else
static inline __printf(1, 0)
int vprintk(const char *s, va_list args)
@@ -274,6 +275,9 @@ static inline void dump_stack_lvl(const char *log_lvl)
static inline void dump_stack(void)
{
}
+static inline void printk_trigger_flush(void)
+{
+}
#endif
#ifdef CONFIG_SMP