diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2012-08-02 04:19:12 -0400 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2012-11-21 10:49:37 -0500 |
commit | 344e873e5657e8dc0631e4d1d42b69f7d625b02c (patch) | |
tree | 3df34d2662770a3b65d91911240acb87453bef2c /arch/arm/mach-mvebu/armada-370-xp.h | |
parent | 7444dad2409afd94c08875e961ca61c5999cd606 (diff) |
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.h | 7 |
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 @@ | |||
19 | #define ARMADA_370_XP_REGS_VIRT_BASE IOMEM(0xfeb00000) | 19 | #define ARMADA_370_XP_REGS_VIRT_BASE IOMEM(0xfeb00000) |
20 | #define ARMADA_370_XP_REGS_SIZE SZ_1M | 20 | #define ARMADA_370_XP_REGS_SIZE SZ_1M |
21 | 21 | ||
22 | #ifdef CONFIG_SMP | ||
23 | #include <linux/cpumask.h> | ||
24 | |||
25 | void armada_mpic_send_doorbell(const struct cpumask *mask, unsigned int irq); | ||
26 | void armada_xp_mpic_smp_cpu_init(void); | ||
27 | #endif | ||
28 | |||
22 | #endif /* __MACH_ARMADA_370_XP_H */ | 29 | #endif /* __MACH_ARMADA_370_XP_H */ |