diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-09-10 15:35:38 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-06-22 10:36:56 +0200 |
commit | 82fea5a1bbbe8c3b56d5f3efbf8880c7b25b1758 (patch) | |
tree | 736061a26f019af1912dd6824f8ab4eb5a20eb33 /arch/arc/plat-sim | |
parent | ARC: make plat_smp_ops weak to allow over-rides (diff) | |
download | linux-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.c | 5 |
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 |