From fc312c12c4401e87a4363898109ef5fd8af35694 Mon Sep 17 00:00:00 2001 From: smart Date: Thu, 8 Mar 2001 15:21:39 +0000 Subject: 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 --- sys/uvm/uvm_vnode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/uvm/uvm_vnode.c') 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); -- cgit v1.2.3