Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh5/sh5 Make the compile if PMAP_DIAG is not defined.



details:   https://anonhg.NetBSD.org/src/rev/9b437e2603cc
branches:  trunk
changeset: 538618:9b437e2603cc
user:      scw <scw%NetBSD.org@localhost>
date:      Wed Oct 23 13:24:28 2002 +0000

description:
Make the compile if PMAP_DIAG is not defined.

diffstat:

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

diffs (18 lines):

diff -r 5ace83fd0da4 -r 9b437e2603cc sys/arch/sh5/sh5/pmap.c
--- a/sys/arch/sh5/sh5/pmap.c   Wed Oct 23 13:18:17 2002 +0000
+++ b/sys/arch/sh5/sh5/pmap.c   Wed Oct 23 13:24:28 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.21 2002/10/22 13:10:28 scw Exp $    */
+/*     $NetBSD: pmap.c,v 1.22 2002/10/23 13:24:28 scw Exp $    */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -2180,7 +2180,7 @@
        } else {
                if (pmap_enter(pmap_kernel(), va, pa, prot,
                    PMAP_WIRED | PMAP_UNMANAGED))
-                       pmap_debugger();
+                       panic("pmap_kenter_pa: pmap_enter botched");
        }
 
        PMPRINTF(("pmap_kenter_pa: done\n"));



Home | Main Index | Thread Index | Old Index