18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _ASM_CMP_H
38c2ecf20Sopenharmony_ci#define _ASM_CMP_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci/*
68c2ecf20Sopenharmony_ci * Definitions for CMP multitasking on MIPS cores
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_cistruct task_struct;
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciextern void cmp_smp_setup(void);
118c2ecf20Sopenharmony_ciextern void cmp_smp_finish(void);
128c2ecf20Sopenharmony_ciextern void cmp_boot_secondary(int cpu, struct task_struct *t);
138c2ecf20Sopenharmony_ciextern void cmp_init_secondary(void);
148c2ecf20Sopenharmony_ciextern void cmp_prepare_cpus(unsigned int max_cpus);
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci/* This is platform specific */
178c2ecf20Sopenharmony_ciextern void cmp_send_ipi(int cpu, unsigned int action);
188c2ecf20Sopenharmony_ci#endif /*  _ASM_CMP_H */
19