summaryrefslogtreecommitdiffstats
path: root/arch/arc/plat-sim
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2014-09-10 15:35:38 +0200
committerVineet Gupta <vgupta@synopsys.com>2015-06-22 10:36:56 +0200
commit82fea5a1bbbe8c3b56d5f3efbf8880c7b25b1758 (patch)
tree736061a26f019af1912dd6824f8ab4eb5a20eb33 /arch/arc/plat-sim
parentARC: make plat_smp_ops weak to allow over-rides (diff)
downloadlinux-82fea5a1bbbe8c3b56d5f3efbf8880c7b25b1758.tar.xz
linux-82fea5a1bbbe8c3b56d5f3efbf8880c7b25b1758.zip
ARCv2: SMP: Support ARConnect (MCIP) for Inter-Core-Interrupts et al
Cc: Jason Cooper <jason@lakedaemon.net> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/plat-sim')
-rw-r--r--arch/arc/plat-sim/platform.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arc/plat-sim/platform.c b/arch/arc/plat-sim/platform.c
index 114fdc30941c..8795ae2ef48a 100644
--- a/arch/arc/plat-sim/platform.c
+++ b/arch/arc/plat-sim/platform.c
@@ -10,6 +10,7 @@
#include <linux/init.h>
#include <asm/mach_desc.h>
+#include <asm/mcip.h>
/*----------------------- Machine Descriptions ------------------------------
*
@@ -27,4 +28,8 @@ static const char *simulation_compat[] __initconst = {
MACHINE_START(SIMULATION, "simulation")
.dt_compat = simulation_compat,
+#ifdef CONFIG_ARC_MCIP
+ .init_early = mcip_init_early_smp,
+ .init_smp = mcip_init_smp,
+#endif
MACHINE_END