summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2024-02-02 18:21:46 +0000
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-02-23 10:13:47 +0100
commitdd6d29a6148990bb1d39a37c6c2830e6daf9cb46 (patch)
tree4e58438ccd2a82353c136b61ec0b752014ca2bd8 /arch/mips/kernel
parent74efddad96fb37f66906850da0ab9cca59446e49 (diff)
downloadlinux-stable-dd6d29a6148990bb1d39a37c6c2830e6daf9cb46.tar.gz
linux-stable-dd6d29a6148990bb1d39a37c6c2830e6daf9cb46.tar.bz2
linux-stable-dd6d29a6148990bb1d39a37c6c2830e6daf9cb46.zip
MIPS: Implement microMIPS MT ASE helpers
Implement various microMIPS MT ASE helpers accroading to: MIPS® Architecture for Programmers Volume IV-f: The MIPS® MT Module for the microMIPS32™ Architecture Fixes build error: {standard input}:2616: Error: branch to a symbol in another ISA mode This make MT ASE available on microMIPS as well. Boot tested on M5150 with microMIPS enabled on M5150. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/vpe-mt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/vpe-mt.c b/arch/mips/kernel/vpe-mt.c
index 667bc75f6420..84124ac2d2a5 100644
--- a/arch/mips/kernel/vpe-mt.c
+++ b/arch/mips/kernel/vpe-mt.c
@@ -95,8 +95,8 @@ int vpe_run(struct vpe *v)
* We don't pass the memsize here, so VPE programs need to be
* compiled with DFLT_STACK_SIZE and DFLT_HEAP_SIZE defined.
*/
- mttgpr(7, 0);
- mttgpr(6, v->ntcs);
+ mttgpr($7, 0);
+ mttgpr($6, v->ntcs);
/* set up VPE1 */
/*