kernel/arch/powerpc/kexec/crash.c
.. .. @@ -311,6 +311,9 @@ 311 311 unsigned int i; 312 312 int (*old_handler)(struct pt_regs *regs); 313 313 314 + /* Avoid hardlocking with irresponsive CPU holding logbuf_lock */315 + printk_nmi_enter();316 +314 317 /* 315 318 * This function is only called after the system 316 319 * has panicked or is otherwise in a critical state.