treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / include / asm / cmp.h
blobe9e87504bb0c10cbcfd169bd41185c5cd5d62e54
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_CMP_H
3 #define _ASM_CMP_H
5 /*
6 * Definitions for CMP multitasking on MIPS cores
7 */
8 struct task_struct;
10 extern void cmp_smp_setup(void);
11 extern void cmp_smp_finish(void);
12 extern void cmp_boot_secondary(int cpu, struct task_struct *t);
13 extern void cmp_init_secondary(void);
14 extern void cmp_prepare_cpus(unsigned int max_cpus);
16 /* This is platform specific */
17 extern void cmp_send_ipi(int cpu, unsigned int action);
18 #endif /* _ASM_CMP_H */