put semaphore waiter in long term list.

This commit is contained in:
David Xu 2010-01-09 06:12:44 +00:00
parent 2c3b3fef36
commit 4904f91fe0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201886

View File

@ -292,7 +292,7 @@ umtx_key_match(const struct umtx_key *k1, const struct umtx_key *k2)
static inline struct umtxq_chain *
umtxq_getchain(struct umtx_key *key)
{
if (key->type <= TYPE_CV)
if (key->type <= TYPE_SEM)
return (&umtxq_chains[1][key->hash]);
return (&umtxq_chains[0][key->hash]);
}