summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-02-17 22:32:32 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-02-17 22:32:32 +0000
commit2f634fcf3f197c2025cb9ecfe92ff432c93a1504 (patch)
treea66c79500036cce759c1192c94a771ade2403ae5 /sys/arch/i386
parent9b2fadd1b58cb46f256688f7d866e56aca635078 (diff)
elliminating unnecessary printf w/ DEBUG in pmap_collect.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/pmap.c3
-rw-r--r--sys/arch/i386/i386/pmap.old.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c
index 0acb9694f5d..f1baaeeec27 100644
--- a/sys/arch/i386/i386/pmap.c
+++ b/sys/arch/i386/i386/pmap.c
@@ -1375,7 +1375,8 @@ pmap_collect(pmap)
int s;
#ifdef DEBUG
- printf("pmap_collect(%x) ", pmap);
+ if (pmapdebug & PDB_FOLLOW)
+ printf("pmap_collect(%x) ", pmap);
#endif
if (pmap != pmap_kernel())
diff --git a/sys/arch/i386/i386/pmap.old.c b/sys/arch/i386/i386/pmap.old.c
index 0acb9694f5d..f1baaeeec27 100644
--- a/sys/arch/i386/i386/pmap.old.c
+++ b/sys/arch/i386/i386/pmap.old.c
@@ -1375,7 +1375,8 @@ pmap_collect(pmap)
int s;
#ifdef DEBUG
- printf("pmap_collect(%x) ", pmap);
+ if (pmapdebug & PDB_FOLLOW)
+ printf("pmap_collect(%x) ", pmap);
#endif
if (pmap != pmap_kernel())