diff options
Diffstat (limited to 'sys/vm/vm_glue.c')
-rw-r--r-- | sys/vm/vm_glue.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index 2851697956f..10ef84b937a 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_glue.c,v 1.22 1997/01/07 05:37:36 tholo Exp $ */ +/* $OpenBSD: vm_glue.c,v 1.23 1997/04/17 01:25:18 niklas Exp $ */ /* $NetBSD: vm_glue.c,v 1.55.4.1 1996/06/13 17:25:45 cgd Exp $ */ /* @@ -74,6 +74,7 @@ #endif #include <vm/vm.h> +#include <vm/vm_extern.h> #include <vm/vm_page.h> #include <vm/vm_kern.h> @@ -231,7 +232,7 @@ vm_fork(p1, p2) shmfork(p1, p2); #endif -#if !defined(pc532) && !defined(vax) +#if !defined(vax) /* * Allocate a wired-down (for now) pcb and kernel stack for the process */ @@ -578,10 +579,11 @@ thread_block() } void -thread_sleep(event, lock, ruptible) +thread_sleep_msg(event, lock, ruptible, msg) void *event; simple_lock_t lock; boolean_t ruptible; + char *msg; { int s = splhigh(); @@ -591,7 +593,7 @@ thread_sleep(event, lock, ruptible) curproc->p_thread = event; simple_unlock(lock); if (curproc->p_thread) - tsleep(event, PVM, "thrd_sleep", 0); + tsleep(event, PVM, msg, 0); splx(s); } |