blob: 033d97303c85675cf7516225bf8c5d1f8550eb0e [file] [log] [blame]
Ralf Baechle39b8d522008-04-28 17:14:26 +01001#ifndef _ASM_CMP_H
2#define _ASM_CMP_H
3
4/*
5 * Definitions for CMP multitasking on MIPS cores
6 */
7struct task_struct;
8
9extern void cmp_smp_setup(void);
10extern void cmp_smp_finish(void);
11extern void cmp_boot_secondary(int cpu, struct task_struct *t);
12extern void cmp_init_secondary(void);
Ralf Baechle39b8d522008-04-28 17:14:26 +010013extern void cmp_prepare_cpus(unsigned int max_cpus);
14
15/* This is platform specific */
16extern void cmp_send_ipi(int cpu, unsigned int action);
17#endif /* _ASM_CMP_H */