summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv310/include/mach/smp.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-11-15 10:42:08 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-03 09:26:30 +0100
commitad3b6993b9c5482e8a2ec5aed181538c921fdcbd (patch)
treeec14d13777bc9b7d495929d74a83c36687ec4eab /arch/arm/mach-s5pv310/include/mach/smp.h
parentARM: remove obsolete smp_cross_call_done() (diff)
downloadlinux-ad3b6993b9c5482e8a2ec5aed181538c921fdcbd.tar.xz
linux-ad3b6993b9c5482e8a2ec5aed181538c921fdcbd.zip
ARM: SMP: pass an ipi number to smp_cross_call()
This allows us to use smp_cross_call() to trigger a number of different software generated interrupts, rather than combining them all on one SGI. Recover the SGI number via do_IPI. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s5pv310/include/mach/smp.h')
-rw-r--r--arch/arm/mach-s5pv310/include/mach/smp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s5pv310/include/mach/smp.h b/arch/arm/mach-s5pv310/include/mach/smp.h
index b7ec252384f4..2897747bcb07 100644
--- a/arch/arm/mach-s5pv310/include/mach/smp.h
+++ b/arch/arm/mach-s5pv310/include/mach/smp.h
@@ -14,9 +14,9 @@ extern void __iomem *gic_cpu_base_addr;
/*
* We use IRQ1 as the IPI
*/
-static inline void smp_cross_call(const struct cpumask *mask)
+static inline void smp_cross_call(const struct cpumask *mask, int ipi)
{
- gic_raise_softirq(mask, 1);
+ gic_raise_softirq(mask, ipi);
}
#endif