summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/include/mach/smp.h
blob: 50db94e927adb16790b2cc404815a2b4fae84880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __MACH_SMP_H
#define __MACH_SMP_H

#include <asm/hardware/gic.h>

/*
 * We use IRQ1 as the IPI
 */
static inline void smp_cross_call(const struct cpumask *mask, int ipi)
{
#if defined(CONFIG_ARM_GIC)
	gic_raise_softirq(mask, ipi);
#endif
}

#endif