Module Name: src
Committed By: tsutsui
Date: Sat May 30 02:56:55 UTC 2020
Modified Files:
src/sys/dev/arcbios: arcbios_calls.S
Log Message:
Explicitly use MIPS_CURLWP macro. No binary change.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/arcbios/arcbios_calls.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/arcbios/arcbios_calls.S
diff -u src/sys/dev/arcbios/arcbios_calls.S:1.2 src/sys/dev/arcbios/arcbios_calls.S:1.3
--- src/sys/dev/arcbios/arcbios_calls.S:1.2 Sat May 30 02:46:07 2020
+++ src/sys/dev/arcbios/arcbios_calls.S Sat May 30 02:56:54 2020
@@ -32,7 +32,7 @@
#include "assym.h"
-RCSID("$NetBSD: arcbios_calls.S,v 1.2 2020/05/30 02:46:07 tsutsui Exp $")
+RCSID("$NetBSD: arcbios_calls.S,v 1.3 2020/05/30 02:56:54 tsutsui Exp $")
.text
.set noreorder
@@ -60,11 +60,11 @@ NESTED(arcbios_4orless_args, CALLFRAME_S
nop
jalr t9
- move s0, t8
+ move s0, MIPS_CURLWP
FIX_V0
- move t8, s0
+ move MIPS_CURLWP, s0
REG_L ra, CALLFRAME_RA(sp)
REG_L s0, CALLFRAME_S0(sp)
@@ -101,11 +101,11 @@ NESTED(arcbios_5to8_args, CALLFRAME2_SIZ
nop
jalr t9
- move s0, t8
+ move s0, MIPS_CURLWP
FIX_V0
- move t8, s0
+ move MIPS_CURLWP, s0
REG_L ra, CALLFRAME2_RA(sp)
REG_L s0, CALLFRAME2_S0(sp)