xref: /linux/arch/mips/include/asm/cmp.h (revision 3932b9ca55b0be314a36d3e84faff3e823c081f5)
1 #ifndef _ASM_CMP_H
2 #define _ASM_CMP_H
3 
4 /*
5  * Definitions for CMP multitasking on MIPS cores
6  */
7 struct task_struct;
8 
9 extern void cmp_smp_setup(void);
10 extern void cmp_smp_finish(void);
11 extern void cmp_boot_secondary(int cpu, struct task_struct *t);
12 extern void cmp_init_secondary(void);
13 extern void cmp_prepare_cpus(unsigned int max_cpus);
14 
15 /* This is platform specific */
16 extern void cmp_send_ipi(int cpu, unsigned int action);
17 #endif /*  _ASM_CMP_H */
18