smp.h 389 B

123456789101112131415161718192021
  1. /* linux/arch/arm/mach-s5pv310/include/mach/smp.h
  2. *
  3. * Cloned from arch/arm/mach-realview/include/mach/smp.h
  4. */
  5. #ifndef ASM_ARCH_SMP_H
  6. #define ASM_ARCH_SMP_H __FILE__
  7. #include <asm/hardware/gic.h>
  8. extern void __iomem *gic_cpu_base_addr;
  9. /*
  10. * We use IRQ1 as the IPI
  11. */
  12. static inline void smp_cross_call(const struct cpumask *mask, int ipi)
  13. {
  14. gic_raise_softirq(mask, ipi);
  15. }
  16. #endif