diff options
author | davidxu <davidxu@FreeBSD.org> | 2010-01-09 06:12:44 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2010-01-09 06:12:44 +0000 |
commit | 715f123ceced5ec940d6d0b333fda02833198228 (patch) | |
tree | ea09d0808a51deccd058c594a86e70ee349423e4 /sys/kern | |
parent | b4d682588bf80d2a55e8f089f2b053ef767ef8d3 (diff) | |
download | FreeBSD-src-715f123ceced5ec940d6d0b333fda02833198228.zip FreeBSD-src-715f123ceced5ec940d6d0b333fda02833198228.tar.gz |
put semaphore waiter in long term list.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_umtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_umtx.c b/sys/kern/kern_umtx.c index 6231340..3f0f8cf 100644 --- a/sys/kern/kern_umtx.c +++ b/sys/kern/kern_umtx.c @@ -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]); } |