067173526c
Provide a common header to read the SMP CPU number from the MPIDR. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
16 lines
247 B
C
16 lines
247 B
C
#ifndef ASMARM_ARCH_SMP_H
|
|
#define ASMARM_ARCH_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)
|
|
{
|
|
gic_raise_softirq(mask, 1);
|
|
}
|
|
|
|
#endif
|