Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86_64/x86_64 Fix DIAGNOSTIC link error (switch_err...



details:   https://anonhg.NetBSD.org/src/rev/589097acea14
branches:  trunk
changeset: 545884:589097acea14
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Thu Apr 17 12:33:49 2003 +0000

description:
Fix DIAGNOSTIC link error (switch_error label).

diffstat:

 sys/arch/x86_64/x86_64/locore.S |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r a7952c71ed21 -r 589097acea14 sys/arch/x86_64/x86_64/locore.S
--- a/sys/arch/x86_64/x86_64/locore.S   Thu Apr 17 11:59:36 2003 +0000
+++ b/sys/arch/x86_64/x86_64/locore.S   Thu Apr 17 12:33:49 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.15 2003/03/25 00:09:47 fvdl Exp $ */
+/*     $NetBSD: locore.S,v 1.16 2003/04/17 12:33:49 fvdl Exp $ */
 
 /*
  * Copyright-o-rama!
@@ -907,7 +907,7 @@
        movq    L_FORW(%rax),%r12       # unlink from front of process q
 #ifdef DIAGNOSTIC
        cmpq    %r12,%rax               # linked to self (i.e. nothing queued)?
-       je      _C_LABEL(switch_error)  # not possible
+       je      _C_LABEL(switch_error1) # not possible
 #endif /* DIAGNOSTIC */
        movq    L_FORW(%r12),%rdx
        movq    %rdx,L_FORW(%rax)
@@ -925,9 +925,9 @@
 switch_resume:
 #ifdef DIAGNOSTIC
        cmpq    %rax,L_WCHAN(%r12)
-       jne     _C_LABEL(switch_error)
+       jne     _C_LABEL(switch_error2)
        cmpb    $LSRUN,L_STAT(%r12)
-       jne     _C_LABEL(switch_error)
+       jne     _C_LABEL(switch_error3)
 #endif
 
        /* Isolate lwp.  XXX Is this necessary? */



Home | Main Index | Thread Index | Old Index