Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm32/arm32 Changed an innocent looking but pretty ...



details:   https://anonhg.NetBSD.org/src/rev/3ad712f2de08
branches:  trunk
changeset: 504194:3ad712f2de08
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Sat Feb 24 20:04:42 2001 +0000

description:
Changed an innocent looking but pretty expensive table walking in pmap.c
from DIAGNOSTIC to PMAP_DEBUG

diffstat:

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

diffs (18 lines):

diff -r 5a7a8e16930b -r 3ad712f2de08 sys/arch/arm32/arm32/pmap.c
--- a/sys/arch/arm32/arm32/pmap.c       Sat Feb 24 19:58:00 2001 +0000
+++ b/sys/arch/arm32/arm32/pmap.c       Sat Feb 24 20:04:42 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.71 2001/02/19 13:29:39 bjh21 Exp $  */
+/*     $NetBSD: pmap.c,v 1.72 2001/02/24 20:04:42 reinoud Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -440,7 +440,7 @@
                 * There is at least one other VA mapping this page.
                 * Place this entry after the header.
                 */
-#ifdef DIAGNOSTIC
+#ifdef PMAP_DEBUG
                for (npv = pv; npv; npv = npv->pv_next)
                        if (pmap == npv->pv_pmap && va == npv->pv_va)
                                panic("pmap_enter_pv: already in pv_tab pv %p: %08lx/%p/%p",



Home | Main Index | Thread Index | Old Index