Initialize 'blocked' to NULL. I think this was a real problem, but I

am not sure about that.  The lack of -Werror and the inline noise hid
this for a while.
This commit is contained in:
Peter Wemm 2003-07-23 20:29:13 +00:00
parent 8b30546120
commit 80611144e4

View File

@ -266,6 +266,7 @@ _umtx_unlock(struct thread *td, struct _umtx_unlock_args *uap)
/* We should only ever be in here for contested locks */
KASSERT((owner & UMTX_CONTESTED) != 0, ("contested umtx is not."));
blocked = NULL;
/*
* When unlocking the umtx, it must be marked as unowned if