kernel/kernel/kexec_core.c
.. .. @@ -978,6 +978,7 @@ 978 978 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu); 979 979 if (old_cpu == PANIC_CPU_INVALID) { 980 980 /* This is the 1st CPU which comes here, so go ahead. */ 981 + printk_safe_flush_on_panic();981 982 __crash_kexec(regs); 982 983 983 984 /*