Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbmips/rasoc Remove pmapdebug stuff



details:   https://anonhg.NetBSD.org/src/rev/62b9a47fd730
branches:  trunk
changeset: 339099:62b9a47fd730
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jun 26 22:14:01 2015 +0000

description:
Remove pmapdebug stuff

diffstat:

 sys/arch/evbmips/rasoc/machdep.c |  14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diffs (36 lines):

diff -r 9ed509e7bcde -r 62b9a47fd730 sys/arch/evbmips/rasoc/machdep.c
--- a/sys/arch/evbmips/rasoc/machdep.c  Fri Jun 26 22:12:21 2015 +0000
+++ b/sys/arch/evbmips/rasoc/machdep.c  Fri Jun 26 22:14:01 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.10 2014/04/30 01:01:47 matt Exp $        */
+/*     $NetBSD: machdep.c,v 1.11 2015/06/26 22:14:01 matt Exp $        */
 
 /*-
  * Copyright (c) 2011 CradlePoint Technology, Inc.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.10 2014/04/30 01:01:47 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.11 2015/06/26 22:14:01 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/boot_flag.h>
@@ -217,17 +217,7 @@
 void
 cpu_startup(void)
 {
-#ifdef DEBUG
-       extern int pmapdebug;
-       const int opmapdebug = pmapdebug;
-       pmapdebug = 0;          /* Shut up pmap debug during bootstrap */
-#endif
-
        cpu_startup_common();
-
-#ifdef DEBUG
-       pmapdebug = opmapdebug;
-#endif
 }
 
 void



Home | Main Index | Thread Index | Old Index