Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/amd64 'doreti_checkast' isn't global anymore,...



details:   https://anonhg.NetBSD.org/src/rev/b202dd30b516
branches:  trunk
changeset: 943242:b202dd30b516
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Aug 29 07:16:03 2020 +0000

description:
'doreti_checkast' isn't global anymore, localify.

diffstat:

 sys/arch/amd64/amd64/spl.S |  11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diffs (37 lines):

diff -r 1013ae5c2426 -r b202dd30b516 sys/arch/amd64/amd64/spl.S
--- a/sys/arch/amd64/amd64/spl.S        Sat Aug 29 07:14:50 2020 +0000
+++ b/sys/arch/amd64/amd64/spl.S        Sat Aug 29 07:16:03 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spl.S,v 1.46 2020/05/17 12:11:11 ad Exp $      */
+/*     $NetBSD: spl.S,v 1.47 2020/08/29 07:16:03 maxv Exp $    */
 
 /*
  * Copyright (c) 2003 Wasabi Systems, Inc.
@@ -331,9 +331,7 @@
 5:
        testb   $SEL_RPL,TF_CS(%rsp)
        jz      6f
-
-       .type   _C_LABEL(doreti_checkast), @function
-LABEL(doreti_checkast)
+.Ldoreti_checkast:
        movq    CPUVAR(CURLWP),%r14
        CHECK_ASTPENDING(%r14)
        je      3f
@@ -345,7 +343,7 @@
        KMSAN_INIT_ARG(8)
        call    _C_LABEL(trap)
        CLI(si)
-       jmp     doreti_checkast
+       jmp     .Ldoreti_checkast
 3:
        CHECK_DEFERRED_SWITCH
        jnz     9f
@@ -356,6 +354,5 @@
        STI(si)
        call    _C_LABEL(do_pmap_load)
        CLI(si)
-       jmp     doreti_checkast         /* recheck ASTs */
-END(doreti_checkast)
+       jmp     .Ldoreti_checkast               /* recheck ASTs */
 IDTVEC_END(doreti)



Home | Main Index | Thread Index | Old Index