diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-11-11 16:38:31 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-11-11 16:38:31 +0000 |
commit | f270d9b59bd21e7089f8e6844a38271c6f4cdcac (patch) | |
tree | f795f04344f5f294fa33a65e11147df68f388a33 /sys | |
parent | b9a10e8571bf981bbfd30159ab6766bce2884253 (diff) |
Simplify a computation in a can't happen diagnostic message.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/sparc64/pmap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc64/sparc64/pmap.c b/sys/arch/sparc64/sparc64/pmap.c index e7aa1029d36..adfb3e63ea2 100644 --- a/sys/arch/sparc64/sparc64/pmap.c +++ b/sys/arch/sparc64/sparc64/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.26 2003/11/03 07:01:33 david Exp $ */ +/* $OpenBSD: pmap.c,v 1.27 2005/11/11 16:38:30 miod Exp $ */ /* $NetBSD: pmap.c,v 1.107 2001/08/31 16:47:41 eeh Exp $ */ #undef NO_VCACHE /* Don't forget the locked TLB in dostart */ /* @@ -3191,8 +3191,7 @@ pmap_page_protect(pg, prot) #ifdef DIAGNOSTIC printf("pmap_page_protect: wired page pm %p va %p not removed\n", npv->pv_pmap, (void *)(u_long)npv->pv_va); - printf("vm wire count %d\n", - PHYS_TO_VM_PAGE(pa)->wire_count); + printf("vm wire count %d\n", pg->wire_count); pv = npv; continue; #endif |