cmp.h 492 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_CMP_H
  3. #define _ASM_CMP_H
  4. /*
  5. * Definitions for CMP multitasking on MIPS cores
  6. */
  7. struct task_struct;
  8. extern void cmp_smp_setup(void);
  9. extern void cmp_smp_finish(void);
  10. extern void cmp_boot_secondary(int cpu, struct task_struct *t);
  11. extern void cmp_init_secondary(void);
  12. extern void cmp_prepare_cpus(unsigned int max_cpus);
  13. /* This is platform specific */
  14. extern void cmp_send_ipi(int cpu, unsigned int action);
  15. #endif /* _ASM_CMP_H */