hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/arch/mips/kernel/crash.c
....@@ -3,7 +3,7 @@
33 #include <linux/smp.h>
44 #include <linux/reboot.h>
55 #include <linux/kexec.h>
6
-#include <linux/bootmem.h>
6
+#include <linux/memblock.h>
77 #include <linux/crash_dump.h>
88 #include <linux/delay.h>
99 #include <linux/irq.h>
....@@ -46,7 +46,9 @@
4646
4747 while (!atomic_read(&kexec_ready_to_reboot))
4848 cpu_relax();
49
- relocated_kexec_smp_wait(NULL);
49
+
50
+ kexec_reboot();
51
+
5052 /* NOTREACHED */
5153 }
5254