Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/arcbios Explicitly use MIPS_CURLWP macro. No binary...



details:   https://anonhg.NetBSD.org/src/rev/2c363a891143
branches:  trunk
changeset: 933742:2c363a891143
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat May 30 02:56:54 2020 +0000

description:
Explicitly use MIPS_CURLWP macro.  No binary change.

diffstat:

 sys/dev/arcbios/arcbios_calls.S |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 9ddad80b709c -r 2c363a891143 sys/dev/arcbios/arcbios_calls.S
--- a/sys/dev/arcbios/arcbios_calls.S   Sat May 30 02:53:30 2020 +0000
+++ b/sys/dev/arcbios/arcbios_calls.S   Sat May 30 02:56:54 2020 +0000
@@ -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 @@
        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 @@
        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)



Home | Main Index | Thread Index | Old Index