hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/mips/kernel/smp-bmips.c
....@@ -25,12 +25,11 @@
2525 #include <linux/linkage.h>
2626 #include <linux/bug.h>
2727 #include <linux/kernel.h>
28
+#include <linux/kexec.h>
2829
2930 #include <asm/time.h>
30
-#include <asm/pgtable.h>
3131 #include <asm/processor.h>
3232 #include <asm/bootinfo.h>
33
-#include <asm/pmon.h>
3433 #include <asm/cacheflush.h>
3534 #include <asm/tlbflush.h>
3635 #include <asm/mipsregs.h>
....@@ -425,6 +424,9 @@
425424 .cpu_disable = bmips_cpu_disable,
426425 .cpu_die = bmips_cpu_die,
427426 #endif
427
+#ifdef CONFIG_KEXEC
428
+ .kexec_nonboot_cpu = kexec_nonboot_cpu_jump,
429
+#endif
428430 };
429431
430432 const struct plat_smp_ops bmips5000_smp_ops = {
....@@ -439,6 +441,9 @@
439441 .cpu_disable = bmips_cpu_disable,
440442 .cpu_die = bmips_cpu_die,
441443 #endif
444
+#ifdef CONFIG_KEXEC
445
+ .kexec_nonboot_cpu = kexec_nonboot_cpu_jump,
446
+#endif
442447 };
443448
444449 #endif /* CONFIG_SMP */