Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 Remove debugging code introduced by...



details:   https://anonhg.NetBSD.org/src/rev/be463fb8a86e
branches:  trunk
changeset: 329620:be463fb8a86e
user:      palle <palle%NetBSD.org@localhost>
date:      Fri May 30 21:55:32 2014 +0000

description:
Remove debugging code introduced by accident in locore.s revision 1.357

diffstat:

 sys/arch/sparc64/sparc64/locore.s |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r 99d5492e2e00 -r be463fb8a86e sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Fri May 30 19:01:52 2014 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Fri May 30 21:55:32 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.358 2014/05/05 19:04:47 palle Exp $       */
+/*     $NetBSD: locore.s,v 1.359 2014/05/30 21:55:32 palle Exp $       */
 
 /*
  * Copyright (c) 2006-2010 Matthew R. Green
@@ -4402,12 +4402,12 @@
        wrpr    %g0, 0, %tl
 #endif
 
-#if 1
-!      set     _C_LABEL(pmapdebug), %o1
-!      ld      [%o1], %o1
-!      sethi   %hi(0x40000), %o2
-!      btst    %o2, %o1
-!      bz      0f
+#ifdef DEBUG
+       set     _C_LABEL(pmapdebug), %o1
+       ld      [%o1], %o1
+       sethi   %hi(0x40000), %o2
+       btst    %o2, %o1
+       bz      0f
 
        LDPTR   [%l7 + CI_SPINUP], %o1
        set     1f, %o0         ! Debug printf



Home | Main Index | Thread Index | Old Index