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 The labels are already global, drop unu...



details:   https://anonhg.NetBSD.org/src/rev/e48649383ecf
branches:  trunk
changeset: 931801:e48649383ecf
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu Apr 30 17:21:12 2020 +0000

description:
The labels are already global, drop unused.

diffstat:

 sys/arch/amd64/amd64/locore.S |  12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diffs (40 lines):

diff -r ff755bbbc348 -r e48649383ecf sys/arch/amd64/amd64/locore.S
--- a/sys/arch/amd64/amd64/locore.S     Thu Apr 30 17:17:33 2020 +0000
+++ b/sys/arch/amd64/amd64/locore.S     Thu Apr 30 17:21:12 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.203 2020/04/30 17:17:33 maxv Exp $        */
+/*     $NetBSD: locore.S,v 1.204 2020/04/30 17:21:12 maxv Exp $        */
 
 /*
  * Copyright-o-rama!
@@ -1610,11 +1610,6 @@
 LABEL(hp_stac_end)
 
 #ifdef SVS
-       .globl  svs_enter, svs_enter_end
-       .globl  svs_enter_altstack, svs_enter_altstack_end
-       .globl  svs_leave, svs_leave_end
-       .globl  svs_leave_altstack, svs_leave_altstack_end
-
 LABEL(svs_enter)
        movabs  SVS_UTLS+UTLS_KPDIRPA,%rax
        movq    %rax,%cr3
@@ -1656,9 +1651,6 @@
 LABEL(svs_leave_nmi_end)
 #endif
 
-       .globl  ibrs_enter, ibrs_enter_end
-       .globl  ibrs_leave, ibrs_leave_end
-
        /* IBRS <- 1 */
 LABEL(ibrs_enter)
        movl    $MSR_IA32_SPEC_CTRL,%ecx
@@ -1683,8 +1675,6 @@
        NOIBRS_LEAVE
 LABEL(noibrs_leave_end)
 
-       .globl  mds_leave, mds_leave_end
-
 LABEL(mds_leave)
        pushq   $GSEL(GDATA_SEL, SEL_KPL)
        verw    (%rsp)



Home | Main Index | Thread Index | Old Index