summaryrefslogtreecommitdiff
path: root/sys/vm/vm_glue.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2002-09-06 07:00:37 +0000
committerJulian Elischer <julian@FreeBSD.org>2002-09-06 07:00:37 +0000
commit1faf202ea93b367ba8943658f878f21deb199ed8 (patch)
tree01ff467a2fdb42c0b7b0624494e4a993030d572b /sys/vm/vm_glue.c
parent105d189b78f746db41e478b77c0389f253df696f (diff)
Notes
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 24b27e3ed3e2..8e3f5c6d911d 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 */
}