summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/pmap.c5
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);
}
}