[PATCH] tty: make termios_sem a mutex

[akpm@osdl.org: fix]
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Arjan van de Ven 2006-09-29 02:00:43 -07:00 committed by Linus Torvalds
parent 54306cf04c
commit 5785c95bae
3 changed files with 22 additions and 20 deletions

View file

@ -174,7 +174,7 @@ struct tty_struct {
struct tty_driver *driver;
int index;
struct tty_ldisc ldisc;
struct semaphore termios_sem;
struct mutex termios_mutex;
struct termios *termios, *termios_locked;
char name[64];
int pgrp;