mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>