|
@@ -608,7 +608,7 @@ static int sixpack_open(struct tty_struct *tty)
|
|
|
|
|
|
spin_lock_init(&sp->lock);
|
|
spin_lock_init(&sp->lock);
|
|
atomic_set(&sp->refcnt, 1);
|
|
atomic_set(&sp->refcnt, 1);
|
|
- init_MUTEX_LOCKED(&sp->dead_sem);
|
|
|
|
|
|
+ sema_init(&sp->dead_sem, 0);
|
|
|
|
|
|
/* !!! length of the buffers. MTU is IP MTU, not PACLEN! */
|
|
/* !!! length of the buffers. MTU is IP MTU, not PACLEN! */
|
|
|
|
|