diff options
author | smart <smart@cvs.openbsd.org> | 2001-03-08 15:21:39 +0000 |
---|---|---|
committer | smart <smart@cvs.openbsd.org> | 2001-03-08 15:21:39 +0000 |
commit | fc312c12c4401e87a4363898109ef5fd8af35694 (patch) | |
tree | 788f662f0ceeddeac8b7da1215ae2de3f5c83732 /sys/uvm/uvm_pager.c | |
parent | 7e74160d3d29937cd64b95fbc7aaba02c3e5b57f (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_pager.c')
-rw-r--r-- | sys/uvm/uvm_pager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_pager.c b/sys/uvm/uvm_pager.c index 80acb01ff82..b0def7ef9fd 100644 --- a/sys/uvm/uvm_pager.c +++ b/sys/uvm/uvm_pager.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_pager.c,v 1.6 2001/01/29 02:07:47 niklas Exp $ */ +/* $OpenBSD: uvm_pager.c,v 1.7 2001/03/08 15:21:37 smart Exp $ */ /* $NetBSD: uvm_pager.c,v 1.20 1999/05/26 19:16:36 thorpej Exp $ */ /* @@ -646,7 +646,7 @@ int swblk; /* valid if (uobj == NULL && PGO_REALLOCSWAP) */ /* did someone want the page while we had it busy-locked? */ if (ppsp[lcv]->flags & PG_WANTED) /* still holding obj lock */ - thread_wakeup(ppsp[lcv]); + wakeup(ppsp[lcv]); /* if page was released, release it. otherwise un-busy it */ if (ppsp[lcv]->flags & PG_RELEASED) { |