mt-smp.h 913 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2015 MediaTek Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. */
  14. extern void mt_secondary_startup(void);
  15. extern void mt_gic_secondary_init(void);
  16. extern unsigned int irq_total_secondary_cpus;
  17. extern void __init mt_smp_prepare_cpus(unsigned int max_cpus);
  18. extern void mt_smp_secondary_init(unsigned int cpu);
  19. extern int mt_smp_boot_secondary(unsigned int cpu, struct task_struct *idle);
  20. extern int mt_cpu_kill(unsigned int cpu);