diff options
author | John Crispin <blogic@openwrt.org> | 2012-04-30 11:33:05 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-05-15 17:49:21 +0200 |
commit | a8d096ef78c4d9a664754e1fad5e82dec2feec68 (patch) | |
tree | 21a261fc21492c49be446e30902acb3db5ff95de /arch/mips/lantiq/prom.c | |
parent | 59c115798430f644b43123250ae4e1d820c3c18d (diff) | |
download | linux-a8d096ef78c4d9a664754e1fad5e82dec2feec68.tar.gz linux-a8d096ef78c4d9a664754e1fad5e82dec2feec68.tar.bz2 linux-a8d096ef78c4d9a664754e1fad5e82dec2feec68.zip |
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 e34fcfd0d5ca..664b7b722248 100644 --- a/arch/mips/lantiq/prom.c +++ b/arch/mips/lantiq/prom.c @@ -68,4 +68,9 @@ void __init prom_init(void) soc_info.sys_type[LTQ_SYS_TYPE_LEN - 1] = '\0'; pr_info("SoC: %s\n", soc_info.sys_type); prom_init_cmdline(); + +#if defined(CONFIG_MIPS_MT_SMP) + if (register_vsmp_smp_ops()) + panic("failed to register_vsmp_smp_ops()"); +#endif } |