smp.h 728 B

1234567891011121314151617181920212223242526272829303132
  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. /* This header has to stand alone to avoid circular deps */
  9. struct task_struct;
  10. void platform_init_cpus(void);
  11. void platform_prepare_cpus(unsigned int max_cpus);
  12. int platform_boot_secondary(unsigned int cpu, struct task_struct *idle);
  13. void platform_secondary_init(unsigned int cpu);
  14. void platform_request_ipi(int irq, /*irq_handler_t*/ void *handler);
  15. void platform_send_ipi(cpumask_t callmap, int irq);
  16. void platform_send_ipi_cpu(unsigned int cpu, int irq);
  17. void platform_clear_ipi(unsigned int cpu, int irq);
  18. void bfin_local_timer_setup(void);
  19. #endif /* !_MACH_BF561_SMP */