]> git.baikalelectronics.ru Git - kernel.git/commit
net: Generalise wq_has_sleeper helper
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 26 Nov 2015 05:55:39 +0000 (13:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Nov 2015 19:47:33 +0000 (14:47 -0500)
commit61827e9679e4ab55eb4369b245f45399fb8a1a69
tree41860e17fe4b2184055d29e669e503d09796775a
parent33bd8f803ddd5d523962f076b12413f761f7c11d
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>
13 files changed:
crypto/algif_aead.c
crypto/algif_skcipher.c
include/linux/wait.h
include/net/sock.h
net/atm/common.c
net/core/sock.c
net/core/stream.c
net/dccp/output.c
net/iucv/af_iucv.c
net/rxrpc/af_rxrpc.c
net/sctp/socket.c
net/tipc/socket.c
net/unix/af_unix.c