diff options
Diffstat (limited to 'arch/arm/mach-s5pv310/include/mach/smp.h')
-rw-r--r-- | arch/arm/mach-s5pv310/include/mach/smp.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv310/include/mach/smp.h b/arch/arm/mach-s5pv310/include/mach/smp.h new file mode 100644 index 00000000000..b7ec252384f --- /dev/null +++ b/arch/arm/mach-s5pv310/include/mach/smp.h @@ -0,0 +1,22 @@ +/* linux/arch/arm/mach-s5pv310/include/mach/smp.h + * + * Cloned from arch/arm/mach-realview/include/mach/smp.h +*/ + +#ifndef ASM_ARCH_SMP_H +#define ASM_ARCH_SMP_H __FILE__ + +#include <asm/hardware/gic.h> +#include <asm/smp_mpidr.h> + +extern void __iomem *gic_cpu_base_addr; + +/* + * We use IRQ1 as the IPI + */ +static inline void smp_cross_call(const struct cpumask *mask) +{ + gic_raise_softirq(mask, 1); +} + +#endif |