Commit 1ee3cd22 authored by Chas Williams's avatar Chas Williams Committed by David S. Miller

[ATM]: Make sigd_sleep conditional with WAIT_FOR_DEMON.

parent 3348a894
......@@ -31,7 +31,9 @@
struct atm_vcc *sigd = NULL;
#ifdef WAIT_FOR_DEMON
static DECLARE_WAIT_QUEUE_HEAD(sigd_sleep);
#endif
static void sigd_put_skb(struct sk_buff *skb)
......@@ -255,6 +257,8 @@ int sigd_attach(struct atm_vcc *vcc)
vcc_insert_socket(vcc->sk);
set_bit(ATM_VF_META,&vcc->flags);
set_bit(ATM_VF_READY,&vcc->flags);
#ifdef WAIT_FOR_DEMON
wake_up(&sigd_sleep);
#endif
return 0;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment