Commit 031365b4 authored by Deng-Cheng Zhu's avatar Deng-Cheng Zhu Committed by Ralf Baechle

MIPS: APRP: Choose the correct VPE loader by fixing the linking

Now we have CONFIG_MIPS_VPE_LOADER and CONFIG_MIPS_VPE_LOADER_[CMP|MT]. The
latter two are used by the 2 exclusive flavors. The vpe_run in malta-amon.c
is for CMP APRP. Without the fix, this vpe_run will be used in MT APRP.
Reviewed-by: default avatarSteven J. Hill <Steven.Hill@imgtec.com>
Signed-off-by: default avatarDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: john@phrozen.org
Patchwork: https://patchwork.linux-mips.org/patch/6589/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent eee57948
...@@ -72,7 +72,7 @@ int amon_cpu_start(int cpu, ...@@ -72,7 +72,7 @@ int amon_cpu_start(int cpu,
return 0; return 0;
} }
#ifdef CONFIG_MIPS_VPE_LOADER #ifdef CONFIG_MIPS_VPE_LOADER_CMP
int vpe_run(struct vpe *v) int vpe_run(struct vpe *v)
{ {
struct vpe_notifications *n; struct vpe_notifications *n;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment