Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 The fixup debug message can report false ...



details:   https://anonhg.NetBSD.org/src/rev/3c09fad7b19f
branches:  trunk
changeset: 803672:3c09fad7b19f
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Nov 07 12:44:58 2014 +0000

description:
The fixup debug message can report false positives on MULTIPROCESSOR, so
disable them there.

diffstat:

 sys/arch/arm/arm32/pmap.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r fb87d08e07f7 -r 3c09fad7b19f sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Fri Nov 07 12:43:36 2014 +0000
+++ b/sys/arch/arm/arm32/pmap.c Fri Nov 07 12:44:58 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.310 2014/11/07 12:43:36 skrll Exp $ */
+/*     $NetBSD: pmap.c,v 1.311 2014/11/07 12:44:58 skrll Exp $ */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -215,7 +215,7 @@
 
 #include <arm/locore.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.310 2014/11/07 12:43:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.311 2014/11/07 12:44:58 skrll Exp $");
 
 //#define PMAP_DEBUG
 #ifdef PMAP_DEBUG
@@ -4574,6 +4574,7 @@
        }
 #endif
 
+#ifndef MULTIPROCESSOR
 #if defined(DEBUG) || 1
        /*
         * If 'rv == 0' at this point, it generally indicates that there is a
@@ -4653,6 +4654,7 @@
 #endif
        }
 #endif
+#endif
 
        rv = 1;
 



Home | Main Index | Thread Index | Old Index