aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu/armada-370-xp.h
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2012-08-02 11:19:12 +0300
committerGregory CLEMENT <gregory.clement@free-electrons.com>2012-11-21 16:49:37 +0100
commit344e873e5657e8dc0631e4d1d42b69f7d625b02c (patch)
tree3df34d2662770a3b65d91911240acb87453bef2c /arch/arm/mach-mvebu/armada-370-xp.h
parentarm: mvebu: Add initial support for power managmement service unit (diff)
downloadlinux-dev-344e873e5657e8dc0631e4d1d42b69f7d625b02c.tar.xz
linux-dev-344e873e5657e8dc0631e4d1d42b69f7d625b02c.zip
arm: mvebu: Add IPI support via doorbells
This patch enhances the IRQ controller driver to add support for Inter-Processor-Interrupts that are needed to enable SMP support. Signed-off-by: Yehuda Yitschak <yehuday@marvell.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-mvebu/armada-370-xp.h')
-rw-r--r--arch/arm/mach-mvebu/armada-370-xp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/armada-370-xp.h b/arch/arm/mach-mvebu/armada-370-xp.h
index aac9bebc6b03..c6a7d74fddfe 100644
--- a/arch/arm/mach-mvebu/armada-370-xp.h
+++ b/arch/arm/mach-mvebu/armada-370-xp.h
@@ -19,4 +19,11 @@
#define ARMADA_370_XP_REGS_VIRT_BASE IOMEM(0xfeb00000)
#define ARMADA_370_XP_REGS_SIZE SZ_1M
+#ifdef CONFIG_SMP
+#include <linux/cpumask.h>
+
+void armada_mpic_send_doorbell(const struct cpumask *mask, unsigned int irq);
+void armada_xp_mpic_smp_cpu_init(void);
+#endif
+
#endif /* __MACH_ARMADA_370_XP_H */