diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-04-12 18:59:56 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-04-12 18:59:56 +0000 |
commit | 2a178ec0808aaede3819e42e952d76536f600f15 (patch) | |
tree | 7e953bc8d6df2d94e08fd982dda80b392dca0793 /sys | |
parent | c3448c777c50645b374715561ddc97dd088aca78 (diff) |
Unbreak compile with option UVMHIST after pg_flags changes.
from mickey
Diffstat (limited to 'sys')
-rw-r--r-- | sys/uvm/uvm_aobj.c | 4 | ||||
-rw-r--r-- | sys/uvm/uvm_map.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/uvm/uvm_aobj.c b/sys/uvm/uvm_aobj.c index 86df760cc18..34eb95c8a29 100644 --- a/sys/uvm/uvm_aobj.c +++ b/sys/uvm/uvm_aobj.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_aobj.c,v 1.32 2007/04/04 17:44:45 art Exp $ */ +/* $OpenBSD: uvm_aobj.c,v 1.33 2007/04/12 18:59:55 art Exp $ */ /* $NetBSD: uvm_aobj.c,v 1.39 2001/02/18 21:19:08 chs Exp $ */ /* @@ -1126,7 +1126,7 @@ uao_get(uobj, offset, pps, npagesp, centeridx, access_type, advice, flags) ptmp->pg_flags |= PG_WANTED; UVMHIST_LOG(pdhist, "sleeping, ptmp->flags 0x%lx\n", - ptmp->flags,0,0,0); + ptmp->pg_flags,0,0,0); UVM_UNLOCK_AND_WAIT(ptmp, &uobj->vmobjlock, FALSE, "uao_get", 0); simple_lock(&uobj->vmobjlock); diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c index 83fa927a828..687d75780f7 100644 --- a/sys/uvm/uvm_map.c +++ b/sys/uvm/uvm_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.c,v 1.87 2007/04/11 12:10:42 art Exp $ */ +/* $OpenBSD: uvm_map.c,v 1.88 2007/04/12 18:59:55 art Exp $ */ /* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */ /* @@ -2299,7 +2299,7 @@ uvm_map_protect(struct vm_map *map, vaddr_t start, vaddr_t end, out: vm_map_unlock(map); - UVMHIST_LOG(maphist, "<- done, rv=%ld",rv,0,0,0); + UVMHIST_LOG(maphist, "<- done, rv=%ld",error,0,0,0); return (error); } @@ -2868,7 +2868,7 @@ uvm_map_pageable_all(struct vm_map *map, int flags, vsize_t limit) uvm_map_entry_unwire(map, entry); } vm_map_unlock(map); - UVMHIST_LOG(maphist,"<- done (RV=%ld)", rv,0,0,0); + UVMHIST_LOG(maphist,"<- done (RV=%ld)", error,0,0,0); return (error); } |