Merge tag 'mailbox-v4.20' of git://git.linaro.org/landing-teams/working/fujitsu/integ...
[sfrench/cifs-2.6.git] / arch / mips / include / asm / smp.h
index 056a6bf13491cf9c10e446c4831052476bbbb541..7990c1c70471ceb8ba846be2e23f12272cd47a68 100644 (file)
@@ -91,6 +91,22 @@ static inline void __cpu_die(unsigned int cpu)
 extern void play_dead(void);
 #endif
 
+#ifdef CONFIG_KEXEC
+static inline void kexec_nonboot_cpu(void)
+{
+       extern const struct plat_smp_ops *mp_ops;       /* private */
+
+       return mp_ops->kexec_nonboot_cpu();
+}
+
+static inline void *kexec_nonboot_cpu_func(void)
+{
+       extern const struct plat_smp_ops *mp_ops;       /* private */
+
+       return mp_ops->kexec_nonboot_cpu;
+}
+#endif
+
 /*
  * This function will set up the necessary IPIs for Linux to communicate
  * with the CPUs in mask.