diff options
Diffstat (limited to 'kernel/panic.c')
| -rw-r--r-- | kernel/panic.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/kernel/panic.c b/kernel/panic.c index 08aa88dde7de..b95959733ce0 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -188,7 +188,7 @@ void panic(const char *fmt, ...)  	 * Bypass the panic_cpu check and call __crash_kexec directly.  	 */  	if (!_crash_kexec_post_notifiers) { -		printk_nmi_flush_on_panic(); +		printk_safe_flush_on_panic();  		__crash_kexec(NULL);  		/* @@ -213,7 +213,7 @@ void panic(const char *fmt, ...)  	atomic_notifier_call_chain(&panic_notifier_list, 0, buf);  	/* Call flush even twice. It tries harder with a single online CPU */ -	printk_nmi_flush_on_panic(); +	printk_safe_flush_on_panic();  	kmsg_dump(KMSG_DUMP_PANIC);  	/* | 
