diff options
author | John Crispin <blogic@openwrt.org> | 2012-04-30 05:33:05 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-05-15 11:49:21 -0400 |
commit | a8d096ef78c4d9a664754e1fad5e82dec2feec68 (patch) | |
tree | 21a261fc21492c49be446e30902acb3db5ff95de /arch/mips/lantiq/prom.c | |
parent | 59c115798430f644b43123250ae4e1d820c3c18d (diff) |
MIPS: lantiq: add ipi handlers to make vsmp work
Add IPI handlers to the interrupt code. This patch makes MIPS_MT_SMP work
on lantiq socs. The code is based on the malta implementation.
Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3704/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lantiq/prom.c')
-rw-r--r-- | arch/mips/lantiq/prom.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c index e34fcfd0d5c..664b7b72224 100644 --- a/arch/mips/lantiq/prom.c +++ b/arch/mips/lantiq/prom.c | |||
@@ -68,4 +68,9 @@ void __init prom_init(void) | |||
68 | soc_info.sys_type[LTQ_SYS_TYPE_LEN - 1] = '\0'; | 68 | soc_info.sys_type[LTQ_SYS_TYPE_LEN - 1] = '\0'; |
69 | pr_info("SoC: %s\n", soc_info.sys_type); | 69 | pr_info("SoC: %s\n", soc_info.sys_type); |
70 | prom_init_cmdline(); | 70 | prom_init_cmdline(); |
71 | |||
72 | #if defined(CONFIG_MIPS_MT_SMP) | ||
73 | if (register_vsmp_smp_ops()) | ||
74 | panic("failed to register_vsmp_smp_ops()"); | ||
75 | #endif | ||
71 | } | 76 | } |