2010-02-22 09:46:23 +08:00
|
|
|
#ifndef ASMARM_ARCH_SMP_H
|
|
|
|
#define ASMARM_ARCH_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-22 09:46:23 +08:00
|
|
|
{
|
2010-11-15 17:42:08 +08:00
|
|
|
gic_raise_softirq(mask, ipi);
|
2010-02-22 09:46:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|