diff options
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r-- | include/linux/tty.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 3787102e4b12..f45cd74e6f24 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -57,6 +57,9 @@ struct tty_buffer { | |||
57 | unsigned char *flag_buf_ptr; | 57 | unsigned char *flag_buf_ptr; |
58 | int used; | 58 | int used; |
59 | int size; | 59 | int size; |
60 | int active; | ||
61 | int commit; | ||
62 | int read; | ||
60 | /* Data points here */ | 63 | /* Data points here */ |
61 | unsigned long data[0]; | 64 | unsigned long data[0]; |
62 | }; | 65 | }; |
@@ -64,6 +67,7 @@ struct tty_buffer { | |||
64 | struct tty_bufhead { | 67 | struct tty_bufhead { |
65 | struct work_struct work; | 68 | struct work_struct work; |
66 | struct semaphore pty_sem; | 69 | struct semaphore pty_sem; |
70 | spinlock_t lock; | ||
67 | struct tty_buffer *head; /* Queue head */ | 71 | struct tty_buffer *head; /* Queue head */ |
68 | struct tty_buffer *tail; /* Active buffer */ | 72 | struct tty_buffer *tail; /* Active buffer */ |
69 | struct tty_buffer *free; /* Free queue head */ | 73 | struct tty_buffer *free; /* Free queue head */ |