aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2004-03-08 00:27:33 +0000
committerPeter Wemm <peter@FreeBSD.org>2004-03-08 00:27:33 +0000
commitb8f8da5d9005c05192c59a88aa7cd0751688f1e1 (patch)
tree806f970004a6a8c2bfa27ae21aad5354262e045f
parent17186e1c71c9ab2add0dfbca5eca86c169a1b63c (diff)
Notes
-rw-r--r--sys/i386/i386/vm_machdep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c
index b09128d483c69..e9e236f462ff5 100644
--- a/sys/i386/i386/vm_machdep.c
+++ b/sys/i386/i386/vm_machdep.c
@@ -320,10 +320,8 @@ cpu_thread_clean(struct thread *td)
* XXX do we need to move the TSS off the allocated pages
* before freeing them? (not done here)
*/
- mtx_lock(&Giant);
kmem_free(kernel_map, (vm_offset_t)pcb->pcb_ext,
ctob(IOPAGES + 1));
- mtx_unlock(&Giant);
pcb->pcb_ext = 0;
}
}