aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r--include/linux/tty.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 1d5bacca3652..b8e8adf95bf3 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -65,13 +65,13 @@ static inline char *flag_buf_ptr(struct tty_buffer *b, int ofs)
65 65
66 66
67struct tty_bufhead { 67struct tty_bufhead {
68 struct tty_buffer *head; /* Queue head */
68 struct work_struct work; 69 struct work_struct work;
69 struct mutex flush_mutex; 70 struct mutex flush_mutex;
70 struct tty_buffer sentinel; 71 struct tty_buffer sentinel;
71 struct tty_buffer *head; /* Queue head */
72 struct tty_buffer *tail; /* Active buffer */
73 struct llist_head free; /* Free queue head */ 72 struct llist_head free; /* Free queue head */
74 atomic_t memory_used; /* In-use buffers excluding free list */ 73 atomic_t memory_used; /* In-use buffers excluding free list */
74 struct tty_buffer *tail; /* Active buffer */
75}; 75};
76/* 76/*
77 * When a break, frame error, or parity error happens, these codes are 77 * When a break, frame error, or parity error happens, these codes are