summaryrefslogtreecommitdiffstats
path: root/kernel
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 /kernel
parentprintk: Remove printk.h inclusion in percpu.h (diff)
parentprintk: restore flushing of NMI buffers on remote CPUs after NMI backtraces (diff)
downloadlinux-bf6d0d1e1ab38309ea2a234e2e4ba2a18d014af9.tar.xz
linux-bf6d0d1e1ab38309ea2a234e2e4ba2a18d014af9.zip
Merge branch 'rework/printk_safe-removal' into for-linus
Diffstat (limited to 'kernel')
-rw-r--r--kernel/printk/printk.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index 9e5dfb1896a9..49e3c53ec510 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -3253,6 +3253,11 @@ void defer_console_output(void)
preempt_enable();
}
+void printk_trigger_flush(void)
+{
+ defer_console_output();
+}
+
int vprintk_deferred(const char *fmt, va_list args)
{
int r;