mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-03 04:42:13 +00:00
[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:
parent
54306cf04c
commit
5785c95bae
3 changed files with 22 additions and 20 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue