summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-03-28 12:52:46 +0000
committerjeff <jeff@FreeBSD.org>2005-03-28 12:52:46 +0000
commitacfff6d0d15205319d8be7e4f135f2d3fa42ec38 (patch)
tree2f6603d1740042ffe1f0a5713854717bb6434d19 /sys/kern/subr_trap.c
parent2ed686ac4dd5f9f324902040836c71a02166079f (diff)
downloadFreeBSD-src-acfff6d0d15205319d8be7e4f135f2d3fa42ec38.zip
FreeBSD-src-acfff6d0d15205319d8be7e4f135f2d3fa42ec38.tar.gz
- Rev 1.83 of kern_lock.c fixes the td_locks assert, reenable it here.
Sponsored by: Isilon Systems, Inc.
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r--sys/kern/subr_trap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index a484ad7..4574aad 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -133,11 +133,8 @@ userret(td, frame, oticks)
* Let the scheduler adjust our priority etc.
*/
sched_userret(td);
-#if 0
- /* This is not presently working. */
KASSERT(td->td_locks == 0,
("userret: Returning with %d locks held.", td->td_locks));
-#endif
}
/*
OpenPOWER on IntegriCloud