From ebae50e48cbe2af2921d270282a1f17321033f45 Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Wed, 31 Jul 2002 07:21:05 +0000 Subject: Remove mickey's debugging printf goop. --- sys/arch/i386/i386/pmap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/arch/i386') diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c index 00d19ad1291..133fd36fe41 100644 --- a/sys/arch/i386/i386/pmap.c +++ b/sys/arch/i386/i386/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.60 2002/07/31 02:30:29 mickey Exp $ */ +/* $OpenBSD: pmap.c,v 1.61 2002/07/31 07:21:04 aaron Exp $ */ /* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */ /* @@ -582,7 +582,7 @@ pmap_nxstack_account(struct pmap *pmap, vaddr_t va, va < VM_MAXUSER_ADDRESS && va >= VM_MAXUSER_ADDRESS - MAXSSIZ) { struct trapframe *tf = curproc->p_md.md_regs; struct vm_map *map = &curproc->p_vmspace->vm_map; -if (pmap != pmap_kernel()) printf("nxpages=%d npte=%x opte=%x", pmap->pm_nxpages, npte & 0xfff, opte & 0xfff); + if (npte & PG_X && !(opte & PG_X)) { if (++pmap->pm_nxpages == 1 && pmap == vm_map_pmap(map)) { @@ -596,7 +596,6 @@ if (pmap != pmap_kernel()) printf("nxpages=%d npte=%x opte=%x", pmap->pm_nxpages pmap_update_pg(va); } } -if (pmap != pmap_kernel()) printf("nxpages1=%d ", pmap->pm_nxpages); } } -- cgit v1.2.3