Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASM_CMP_H
0003 #define _ASM_CMP_H
0004 
0005 /*
0006  * Definitions for CMP multitasking on MIPS cores
0007  */
0008 struct task_struct;
0009 
0010 extern void cmp_smp_setup(void);
0011 extern void cmp_smp_finish(void);
0012 extern void cmp_boot_secondary(int cpu, struct task_struct *t);
0013 extern void cmp_init_secondary(void);
0014 extern void cmp_prepare_cpus(unsigned int max_cpus);
0015 
0016 /* This is platform specific */
0017 extern void cmp_send_ipi(int cpu, unsigned int action);
0018 #endif /*  _ASM_CMP_H */