ARM: mach-shmobile: SMP base support
[pandora-kernel.git] / arch / arm / mach-shmobile / include / mach / smp.h
1 #ifndef __MACH_SMP_H
2 #define __MACH_SMP_H
3
4 #include <asm/hardware/gic.h>
5 #include <asm/smp_mpidr.h>
6
7 /*
8  * We use IRQ1 as the IPI
9  */
10 static inline void smp_cross_call(const struct cpumask *mask)
11 {
12 #if defined(CONFIG_ARM_GIC)
13         gic_raise_softirq(mask, 1);
14 #endif
15 }
16 #endif