From 2f634fcf3f197c2025cb9ecfe92ff432c93a1504 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Sat, 17 Feb 1996 22:32:32 +0000 Subject: elliminating unnecessary printf w/ DEBUG in pmap_collect. --- sys/arch/i386/i386/pmap.c | 3 ++- sys/arch/i386/i386/pmap.old.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'sys') 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()) -- cgit v1.2.3