hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/arch/mips/include/asm/smp-ops.h
....@@ -29,10 +29,14 @@
2929 int (*boot_secondary)(int cpu, struct task_struct *idle);
3030 void (*smp_setup)(void);
3131 void (*prepare_cpus)(unsigned int max_cpus);
32
+ void (*prepare_boot_cpu)(void);
3233 #ifdef CONFIG_HOTPLUG_CPU
3334 int (*cpu_disable)(void);
3435 void (*cpu_die)(unsigned int cpu);
3536 #endif
37
+#ifdef CONFIG_KEXEC
38
+ void (*kexec_nonboot_cpu)(void);
39
+#endif
3640 };
3741
3842 extern void register_smp_ops(const struct plat_smp_ops *ops);