diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-12-12 17:45:24 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-12-12 17:45:24 +0000 |
commit | 85361d56aa5b204fae0c32ff8b1828517ebdffe7 (patch) | |
tree | 712e2981337ca24c654c20f06da2def189bc919f /sys/arch | |
parent | cffdc49c6e2736cd9c202c235a7c104d7a0d29c7 (diff) |
hide debug printf behind #ifdef PMAPDEBUG
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/hppa/pmap.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c index eef03fed75f..a25cf63eda9 100644 --- a/sys/arch/hppa/hppa/pmap.c +++ b/sys/arch/hppa/hppa/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.29 1999/12/12 03:16:26 mickey Exp $ */ +/* $OpenBSD: pmap.c,v 1.30 1999/12/12 17:45:23 mickey Exp $ */ /* * Copyright (c) 1998,1999 Michael Shalayeff @@ -1543,7 +1543,10 @@ pmap_changebit(pg, set, reset) register paddr_t pa = VM_PAGE_TO_PHYS(pg); int s; -printf("pmap_changebit(%p[%x], %x, %x)\n", pg, pa, set, reset); +#ifdef PMAPDEBUG + if (pmapdebug & PDB_FOLLOW) + printf("pmap_changebit(%p[%x], %x, %x)\n", pg, pa, set, reset); +#endif s = splimp(); if (!(pv = pmap_find_pv(pa)) || !pv->pv_pmap) { |