summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_glue.c')
-rw-r--r--sys/vm/vm_glue.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c
index 24b27e3..8e3f5c6 100644
--- a/sys/vm/vm_glue.c
+++ b/sys/vm/vm_glue.c
@@ -430,14 +430,9 @@ void
vm_waitproc(p)
struct proc *p;
{
- struct thread *td;
GIANT_REQUIRED;
cpu_wait(p);
-/* XXXKSE by here there should not be any threads left! */
- FOREACH_THREAD_IN_PROC(p, td) {
- panic("vm_waitproc: Survivor thread!");
- }
vmspace_exitfree(p); /* and clean-out the vmspace */
}
OpenPOWER on IntegriCloud