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>
14 lines
236 B
C
14 lines
236 B
C
#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)
|
|
{
|
|
gic_raise_softirq(mask, 1);
|
|
}
|
|
#endif
|