commit | 1ce0bf50ae2233c7115a18c0c623662d177b434c | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu Nov 26 13:55:39 2015 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 30 14:47:33 2015 -0500 |
tree | 41860e17fe4b2184055d29e669e503d09796775a | |
parent | c52fd05a2ff2ad20e2a7056baf314c7d1d624ba9 [diff] |
net: Generalise wq_has_sleeper helper The memory barrier in the helper wq_has_sleeper is needed by just about every user of waitqueue_active. This patch generalises it by making it take a wait_queue_head_t directly. The existing helper is renamed to skwq_has_sleeper. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>