diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2002-07-31 07:21:05 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2002-07-31 07:21:05 +0000 |
commit | ebae50e48cbe2af2921d270282a1f17321033f45 (patch) | |
tree | f47fb11edaa20aa6739ef4c41945c73287cb3cbf /sys/arch/i386 | |
parent | 27cb58f882355cefa5cc1de982bf39111e337072 (diff) |
Remove mickey's debugging printf goop.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/pmap.c | 5 |
1 files changed, 2 insertions, 3 deletions
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); } } |