smp.h 271 字节
Newer Older
M
Magnus Damm 已提交
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>
#include <asm/smp_mpidr.h>

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