summaryrefslogtreecommitdiff
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2006-09-29 02:00:43 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 09:18:16 -0700
commit5785c95baede8459d70c4aa0f7becb6e8b5fde4b (patch)
tree17744eac694b4eab81cba4db28c4e083d779b753 /include/linux/tty.h
parent54306cf04c0ea0a8c432603dbc657ab62a438668 (diff)
downloadlwn-5785c95baede8459d70c4aa0f7becb6e8b5fde4b.tar.gz
lwn-5785c95baede8459d70c4aa0f7becb6e8b5fde4b.zip
[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>
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r--include/linux/tty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index d1dec3d0c814..ea4c2605f8da 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -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;