aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/tty.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 3f4954c55e53..dfc77ded198a 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -253,6 +253,7 @@ struct tty_struct {
253 unsigned int column; 253 unsigned int column;
254 unsigned char lnext:1, erasing:1, raw:1, real_raw:1, icanon:1; 254 unsigned char lnext:1, erasing:1, raw:1, real_raw:1, icanon:1;
255 unsigned char closing:1; 255 unsigned char closing:1;
256 unsigned char echo_overrun:1;
256 unsigned short minimum_to_wake; 257 unsigned short minimum_to_wake;
257 unsigned long overrun_time; 258 unsigned long overrun_time;
258 int num_overrun; 259 int num_overrun;
@@ -262,11 +263,16 @@ struct tty_struct {
262 int read_tail; 263 int read_tail;
263 int read_cnt; 264 int read_cnt;
264 unsigned long read_flags[N_TTY_BUF_SIZE/(8*sizeof(unsigned long))]; 265 unsigned long read_flags[N_TTY_BUF_SIZE/(8*sizeof(unsigned long))];
266 unsigned char *echo_buf;
267 unsigned int echo_pos;
268 unsigned int echo_cnt;
265 int canon_data; 269 int canon_data;
266 unsigned long canon_head; 270 unsigned long canon_head;
267 unsigned int canon_column; 271 unsigned int canon_column;
268 struct mutex atomic_read_lock; 272 struct mutex atomic_read_lock;
269 struct mutex atomic_write_lock; 273 struct mutex atomic_write_lock;
274 struct mutex output_lock;
275 struct mutex echo_lock;
270 unsigned char *write_buf; 276 unsigned char *write_buf;
271 int write_cnt; 277 int write_cnt;
272 spinlock_t read_lock; 278 spinlock_t read_lock;