Pull printk fixes from Petr Mladek: - Try to flush backtraces from other CPUs also on the local one. This was a regression caused by printk_safe buffers removal. - Remove header dependency warning. * tag 'printk-for-5.16-fixup' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux: printk: Remove printk.h inclusion in percpu.h printk: restore flushing of NMI buffers on remote CPUs after NMI backtraces
Showing the changes to kernel (1 of 5 files). Show all
Unified · Split
| @@ -3253,6 +3253,11 @@ void defer_console_output(void) · 3252 unmodified lines | ||
| 3253 | 3253 | preempt_enable(); |
| 3254 | 3254 | } |
| 3255 | 3255 | |
| 3256 | +void printk_trigger_flush(void) | |
| 3257 | +{ | |
| 3258 | + defer_console_output(); | |
| 3259 | +} | |
| 3260 | + | |
| 3256 | 3261 | int vprintk_deferred(const char *fmt, va_list args) |
| 3257 | 3262 | { |
| 3258 | 3263 | int r; |