diff options
| author | Steve French <sfrench@us.ibm.com> | 2006-03-30 22:35:56 -0500 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2006-03-30 22:35:56 -0500 |
| commit | d62e54abca1146981fc9f98f85ff398a113a22c2 (patch) | |
| tree | 870420dbc4c65e716dcef8a802aafdc0ef97a8b4 /include/linux/tty.h | |
| parent | fd4a0b92db6a57cba8d03efbe1cebf91f9124ce0 (diff) | |
| parent | ce362c009250340358a7221f3cdb7954cbf19c01 (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'include/linux/tty.h')
| -rw-r--r-- | include/linux/tty.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index f45cd74e6f24..f13f49afe198 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | #include <linux/tty_driver.h> | 24 | #include <linux/tty_driver.h> |
| 25 | #include <linux/tty_ldisc.h> | 25 | #include <linux/tty_ldisc.h> |
| 26 | #include <linux/screen_info.h> | 26 | #include <linux/screen_info.h> |
| 27 | #include <linux/mutex.h> | ||
| 27 | 28 | ||
| 28 | #include <asm/system.h> | 29 | #include <asm/system.h> |
| 29 | 30 | ||
| @@ -231,8 +232,8 @@ struct tty_struct { | |||
| 231 | int canon_data; | 232 | int canon_data; |
| 232 | unsigned long canon_head; | 233 | unsigned long canon_head; |
| 233 | unsigned int canon_column; | 234 | unsigned int canon_column; |
| 234 | struct semaphore atomic_read; | 235 | struct mutex atomic_read_lock; |
| 235 | struct semaphore atomic_write; | 236 | struct mutex atomic_write_lock; |
| 236 | unsigned char *write_buf; | 237 | unsigned char *write_buf; |
| 237 | int write_cnt; | 238 | int write_cnt; |
| 238 | spinlock_t read_lock; | 239 | spinlock_t read_lock; |
| @@ -319,8 +320,7 @@ extern void tty_ldisc_put(int); | |||
| 319 | extern void tty_wakeup(struct tty_struct *tty); | 320 | extern void tty_wakeup(struct tty_struct *tty); |
| 320 | extern void tty_ldisc_flush(struct tty_struct *tty); | 321 | extern void tty_ldisc_flush(struct tty_struct *tty); |
| 321 | 322 | ||
| 322 | struct semaphore; | 323 | extern struct mutex tty_mutex; |
| 323 | extern struct semaphore tty_sem; | ||
| 324 | 324 | ||
| 325 | /* n_tty.c */ | 325 | /* n_tty.c */ |
| 326 | extern struct tty_ldisc tty_ldisc_N_TTY; | 326 | extern struct tty_ldisc tty_ldisc_N_TTY; |
