smp.h 342 B

12345678910111213141516171819202122
  1. #ifndef ASMARM_ARCH_SMP_H
  2. #define ASMARM_ARCH_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. gic_raise_softirq(mask, 1);
  11. }
  12. /*
  13. * Do nothing on MPcore.
  14. */
  15. static inline void smp_cross_call_done(cpumask_t callmap)
  16. {
  17. }
  18. #endif