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