mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 04:11:49 +00:00
c0312b33da
This fixes up the SMP support to use the refactored GIC APIs. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 lines
256 B
C
17 lines
256 B
C
#ifndef __MACH_SMP_H
|
|
#define __MACH_SMP_H
|
|
|
|
#include <asm/hardware/gic.h>
|
|
|
|
/*
|
|
* We use IRQ1 as the IPI
|
|
*/
|
|
static inline void smp_cross_call(const struct cpumask *mask, int ipi)
|
|
{
|
|
#if defined(CONFIG_ARM_GIC)
|
|
gic_raise_softirq(mask, ipi);
|
|
#endif
|
|
}
|
|
|
|
#endif
|