Ralf Baechle | 39b8d52 | 2008-04-28 17:14:26 +0100 | [diff] [blame] | 1 | #ifndef _ASM_SMVP_H |
| 2 | #define _ASM_SMVP_H |
| 3 | |
| 4 | /* |
| 5 | * Definitions for SMVP multitasking on MIPS MT cores |
| 6 | */ |
| 7 | struct task_struct; |
| 8 | |
| 9 | extern void smvp_smp_setup(void); |
| 10 | extern void smvp_smp_finish(void); |
| 11 | extern void smvp_boot_secondary(int cpu, struct task_struct *t); |
| 12 | extern void smvp_init_secondary(void); |
| 13 | extern void smvp_smp_finish(void); |
| 14 | extern void smvp_cpus_done(void); |
| 15 | extern void smvp_prepare_cpus(unsigned int max_cpus); |
| 16 | |
| 17 | /* This is platform specific */ |
| 18 | extern void smvp_send_ipi(int cpu, unsigned int action); |
| 19 | #endif /* _ASM_SMVP_H */ |