smp.h 256 B

12345678910111213141516
  1. #ifndef __MACH_SMP_H
  2. #define __MACH_SMP_H
  3. #include <asm/hardware/gic.h>
  4. /*
  5. * We use IRQ1 as the IPI
  6. */
  7. static inline void smp_cross_call(const struct cpumask *mask, int ipi)
  8. {
  9. #if defined(CONFIG_ARM_GIC)
  10. gic_raise_softirq(mask, ipi);
  11. #endif
  12. }
  13. #endif