1 /* linux/arch/arm/mach-s5pv310/include/mach/smp.h
3 * Cloned from arch/arm/mach-realview/include/mach/smp.h
7 #define ASM_ARCH_SMP_H __FILE__
9 #include <asm/hardware/gic.h>
11 extern void __iomem *gic_cpu_base_addr;
13 #define hard_smp_processor_id() \
15 unsigned int cpunum; \
16 __asm__("mrc p15, 0, %0, c0, c0, 5" \
22 * We use IRQ1 as the IPI
24 static inline void smp_cross_call(const struct cpumask *mask)
26 gic_raise_softirq(mask, 1);