2010-12-14 15:56:55 +08:00
|
|
|
#ifndef __MACH_SMP_H
|
|
|
|
#define __MACH_SMP_H
|
|
|
|
|
|
|
|
#include <asm/hardware/gic.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* We use IRQ1 as the IPI
|
|
|
|
*/
|
2011-01-07 11:02:11 +08:00
|
|
|
static inline void smp_cross_call(const struct cpumask *mask, int ipi)
|
2010-12-14 15:56:55 +08:00
|
|
|
{
|
|
|
|
#if defined(CONFIG_ARM_GIC)
|
2011-01-07 11:02:11 +08:00
|
|
|
gic_raise_softirq(mask, ipi);
|
2010-12-14 15:56:55 +08:00
|
|
|
#endif
|
|
|
|
}
|
2011-01-07 11:02:11 +08:00
|
|
|
|
2010-12-14 15:56:55 +08:00
|
|
|
#endif
|