aboutsummaryrefslogtreecommitdiffstats
path: root/net/atm/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/atm/common.c')
-rw-r--r--net/atm/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/atm/common.c b/net/atm/common.c
index 49a872db7e42..6dc12305799e 100644
--- a/net/atm/common.c
+++ b/net/atm/common.c
@@ -96,7 +96,7 @@ static void vcc_def_wakeup(struct sock *sk)
96 96
97 rcu_read_lock(); 97 rcu_read_lock();
98 wq = rcu_dereference(sk->sk_wq); 98 wq = rcu_dereference(sk->sk_wq);
99 if (wq_has_sleeper(wq)) 99 if (skwq_has_sleeper(wq))
100 wake_up(&wq->wait); 100 wake_up(&wq->wait);
101 rcu_read_unlock(); 101 rcu_read_unlock();
102} 102}
@@ -117,7 +117,7 @@ static void vcc_write_space(struct sock *sk)
117 117
118 if (vcc_writable(sk)) { 118 if (vcc_writable(sk)) {
119 wq = rcu_dereference(sk->sk_wq); 119 wq = rcu_dereference(sk->sk_wq);
120 if (wq_has_sleeper(wq)) 120 if (skwq_has_sleeper(wq))
121 wake_up_interruptible(&wq->wait); 121 wake_up_interruptible(&wq->wait);
122 122
123 sk_wake_async(sk, SOCK_WAKE_SPACE, POLL_OUT); 123 sk_wake_async(sk, SOCK_WAKE_SPACE, POLL_OUT);