smp.h 591 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright 2007-2008 Analog Devices Inc.
  3. *
  4. * Licensed under the GPL-2 or later.
  5. */
  6. #ifndef _MACH_BF561_SMP
  7. #define _MACH_BF561_SMP
  8. struct task_struct;
  9. void platform_init_cpus(void);
  10. void platform_prepare_cpus(unsigned int max_cpus);
  11. int platform_boot_secondary(unsigned int cpu, struct task_struct *idle);
  12. void platform_secondary_init(unsigned int cpu);
  13. void platform_request_ipi(int (*handler)(int, void *));
  14. void platform_send_ipi(cpumask_t callmap);
  15. void platform_send_ipi_cpu(unsigned int cpu);
  16. void platform_clear_ipi(unsigned int cpu);
  17. #endif /* !_MACH_BF561_SMP */