[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:
committed by
Linus Torvalds
parent
54306cf04c
commit
5785c95bae
@ -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;
|
||||
|
Reference in New Issue
Block a user