diff options
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r-- | include/linux/tty.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 4cfd4a82fc31..fd4148d3a261 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -252,6 +252,7 @@ struct tty_struct { | |||
252 | struct rw_semaphore termios_rwsem; | 252 | struct rw_semaphore termios_rwsem; |
253 | struct mutex winsize_mutex; | 253 | struct mutex winsize_mutex; |
254 | spinlock_t ctrl_lock; | 254 | spinlock_t ctrl_lock; |
255 | spinlock_t flow_lock; | ||
255 | /* Termios values are protected by the termios rwsem */ | 256 | /* Termios values are protected by the termios rwsem */ |
256 | struct ktermios termios, termios_locked; | 257 | struct ktermios termios, termios_locked; |
257 | struct termiox *termiox; /* May be NULL for unsupported */ | 258 | struct termiox *termiox; /* May be NULL for unsupported */ |
@@ -261,7 +262,7 @@ struct tty_struct { | |||
261 | unsigned long flags; | 262 | unsigned long flags; |
262 | int count; | 263 | int count; |
263 | struct winsize winsize; /* winsize_mutex */ | 264 | struct winsize winsize; /* winsize_mutex */ |
264 | int stopped; | 265 | int stopped; /* flow_lock */ |
265 | int flow_stopped; | 266 | int flow_stopped; |
266 | int hw_stopped; | 267 | int hw_stopped; |
267 | int packet; | 268 | int packet; |
@@ -400,7 +401,9 @@ extern int tty_paranoia_check(struct tty_struct *tty, struct inode *inode, | |||
400 | extern char *tty_name(struct tty_struct *tty, char *buf); | 401 | extern char *tty_name(struct tty_struct *tty, char *buf); |
401 | extern void tty_wait_until_sent(struct tty_struct *tty, long timeout); | 402 | extern void tty_wait_until_sent(struct tty_struct *tty, long timeout); |
402 | extern int tty_check_change(struct tty_struct *tty); | 403 | extern int tty_check_change(struct tty_struct *tty); |
404 | extern void __stop_tty(struct tty_struct *tty); | ||
403 | extern void stop_tty(struct tty_struct *tty); | 405 | extern void stop_tty(struct tty_struct *tty); |
406 | extern void __start_tty(struct tty_struct *tty); | ||
404 | extern void start_tty(struct tty_struct *tty); | 407 | extern void start_tty(struct tty_struct *tty); |
405 | extern int tty_register_driver(struct tty_driver *driver); | 408 | extern int tty_register_driver(struct tty_driver *driver); |
406 | extern int tty_unregister_driver(struct tty_driver *driver); | 409 | extern int tty_unregister_driver(struct tty_driver *driver); |