smp.h 271 B

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