2010-02-22 09:46:23 +08:00
|
|
|
#ifndef ASMARM_ARCH_SMP_H
|
|
|
|
#define ASMARM_ARCH_SMP_H
|
|
|
|
|
|
|
|
#include <asm/hardware/gic.h>
|
2010-09-04 23:14:20 +08:00
|
|
|
#include <asm/smp_mpidr.h>
|
2010-02-22 09:46:23 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* We use IRQ1 as the IPI
|
|
|
|
*/
|
|
|
|
static inline void smp_cross_call(const struct cpumask *mask)
|
|
|
|
{
|
|
|
|
gic_raise_softirq(mask, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Do nothing on MPcore.
|
|
|
|
*/
|
|
|
|
static inline void smp_cross_call_done(cpumask_t callmap)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|