From 286f491040e44453f4dadcb8a4d1947ebdb2a10b Mon Sep 17 00:00:00 2001 From: reinoud Date: Sat, 24 Feb 2001 20:04:42 +0000 Subject: [PATCH] Changed an innocent looking but pretty expensive table walking in pmap.c from DIAGNOSTIC to PMAP_DEBUG --- sys/arch/arm32/arm32/pmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/arm32/arm32/pmap.c b/sys/arch/arm32/arm32/pmap.c index 0d27c74ce60f..49930d8bae87 100644 --- a/sys/arch/arm32/arm32/pmap.c +++ b/sys/arch/arm32/arm32/pmap.c @@ -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 @@ pmap_enter_pv(pmap, va, pv, flags) * 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",