summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_vnode.c
diff options
context:
space:
mode:
authorsmart <smart@cvs.openbsd.org>2001-03-08 15:21:39 +0000
committersmart <smart@cvs.openbsd.org>2001-03-08 15:21:39 +0000
commitfc312c12c4401e87a4363898109ef5fd8af35694 (patch)
tree788f662f0ceeddeac8b7da1215ae2de3f5c83732 /sys/uvm/uvm_vnode.c
parent7e74160d3d29937cd64b95fbc7aaba02c3e5b57f (diff)
Replace thread_wakeup() with wakeup(). It is defined in vm_extern.h as a
wrapper, so this removes a dependence on the old VM system. From NetBSD. art@ ok
Diffstat (limited to 'sys/uvm/uvm_vnode.c')
-rw-r--r--sys/uvm/uvm_vnode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_vnode.c b/sys/uvm/uvm_vnode.c
index 9e36936d0e6..ed0b58afc1f 100644
--- a/sys/uvm/uvm_vnode.c
+++ b/sys/uvm/uvm_vnode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_vnode.c,v 1.10 2001/01/29 02:07:50 niklas Exp $ */
+/* $OpenBSD: uvm_vnode.c,v 1.11 2001/03/08 15:21:38 smart Exp $ */
/* $NetBSD: uvm_vnode.c,v 1.23 1999/04/11 04:04:11 chs Exp $ */
/*
@@ -1161,7 +1161,7 @@ ReTry:
if (result != VM_PAGER_PEND) {
if (ptmp->flags & PG_WANTED)
/* still holding object lock */
- thread_wakeup(ptmp);
+ wakeup(ptmp);
ptmp->flags &= ~(PG_WANTED|PG_BUSY);
UVM_PAGE_OWN(ptmp, NULL);
@@ -1521,7 +1521,7 @@ uvn_get(uobj, offset, pps, npagesp, centeridx, access_type, advice, flags)
if (result != VM_PAGER_OK) {
if (ptmp->flags & PG_WANTED)
/* object lock still held */
- thread_wakeup(ptmp);
+ wakeup(ptmp);
ptmp->flags &= ~(PG_WANTED|PG_BUSY);
UVM_PAGE_OWN(ptmp, NULL);