hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/kernel/kexec_core.c
....@@ -978,6 +978,7 @@
978978 old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu);
979979 if (old_cpu == PANIC_CPU_INVALID) {
980980 /* This is the 1st CPU which comes here, so go ahead. */
981
+ printk_safe_flush_on_panic();
981982 __crash_kexec(regs);
982983
983984 /*