Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/mpc6xx it's perfectly legal for pmap_extrac...



details:   https://anonhg.NetBSD.org/src/rev/978cd12e7cc9
branches:  trunk
changeset: 515057:978cd12e7cc9
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Sep 16 05:40:46 2001 +0000

description:
it's perfectly legal for pmap_extract() on the kernel pmap to not find
anything mapped there, even though it never used to happen.  with today's
other changes it happens a lot now, so remove the debug check for it.

diffstat:

 sys/arch/powerpc/mpc6xx/pmap.c |  13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diffs (27 lines):

diff -r 6ba17ea937ee -r 978cd12e7cc9 sys/arch/powerpc/mpc6xx/pmap.c
--- a/sys/arch/powerpc/mpc6xx/pmap.c    Sun Sep 16 05:32:18 2001 +0000
+++ b/sys/arch/powerpc/mpc6xx/pmap.c    Sun Sep 16 05:40:46 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.25 2001/09/10 21:19:37 chris Exp $  */
+/*     $NetBSD: pmap.c,v 1.26 2001/09/16 05:40:46 chs Exp $    */
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -1715,17 +1715,6 @@
        if (pvo != NULL) {
                PMAP_PVO_CHECK(pvo);            /* sanity check */
                *pap = (pvo->pvo_pte.pte_lo & PTE_RPGN) | (va & ADDR_POFF);
-#ifdef DEBUG
-       } else {
-               if (pm == pmap_kernel()) {
-                       if (va >= VM_MIN_KERNEL_ADDRESS) {
-                               printf("pmap_extract: va=%#lx: no pa\n", va);
-#ifdef DDB
-                               Debugger();
-#endif
-                       }
-               }
-#endif
        }
        pmap_interrupts_restore(msr);
        splx(s);



Home | Main Index | Thread Index | Old Index