summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-03-03 05:29:34 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-03-03 05:29:34 +0000
commitf593bb54fef5eb2f50f90ae102c5f22180f3f79e (patch)
treefd7417399021248a85fa54d2626ab57cf3fe484c /sys
parentc7f673ff3e01af6d1b4a6cfa6e3c6065da224ddb (diff)
Quiet down pmap code, this is mostly shaken out now, remove some of
the debug code.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/powerpc/pmap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/powerpc/powerpc/pmap.c b/sys/arch/powerpc/powerpc/pmap.c
index c80af41517c..87e89e8fc3b 100644
--- a/sys/arch/powerpc/powerpc/pmap.c
+++ b/sys/arch/powerpc/powerpc/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.24 2001/02/22 03:26:24 drahn Exp $ */
+/* $OpenBSD: pmap.c,v 1.25 2001/03/03 05:29:33 drahn Exp $ */
/* $NetBSD: pmap.c,v 1.1 1996/09/30 16:34:52 ws Exp $ */
/*
@@ -72,7 +72,7 @@ static struct mem_region *mem, *avail;
extern vm_offset_t pager_sva, pager_eva;
#endif
-#if 1
+#if 0
void
dump_avail()
{
@@ -587,7 +587,6 @@ avail_end = npgs * NBPG;
if (mp->size < s + HTABSIZE)
continue;
ptable = (pte_t *)(mp->start + s);
-dump_avail();
if (mp->size == s + HTABSIZE) {
if (s)
mp->size = s;
@@ -605,7 +604,6 @@ dump_avail();
}
mp->start += s + HTABSIZE;
mp->size -= s + HTABSIZE;
-dump_avail();
break;
}
if (!mp->size)