From 9d65cdf6ffe53af936e3106ba9f06ad268445471 Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Mon, 28 Mar 2005 12:52:46 +0000 Subject: [PATCH] - Rev 1.83 of kern_lock.c fixes the td_locks assert, reenable it here. Sponsored by: Isilon Systems, Inc. --- sys/kern/subr_trap.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index a484ad78085b..4574aad5e098 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 } /*