diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/tty.h | 4 | ||||
| -rw-r--r-- | include/linux/tty_flip.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 991575fe3451..7a9a3b0a6b5a 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
| @@ -67,8 +67,8 @@ static inline char *flag_buf_ptr(struct tty_buffer *b, int ofs) | |||
| 67 | struct tty_bufhead { | 67 | struct tty_bufhead { |
| 68 | struct tty_buffer *head; /* Queue head */ | 68 | struct tty_buffer *head; /* Queue head */ |
| 69 | struct work_struct work; | 69 | struct work_struct work; |
| 70 | struct mutex flush_mutex; | 70 | struct mutex lock; |
| 71 | unsigned int flushpending:1; | 71 | atomic_t priority; |
| 72 | struct tty_buffer sentinel; | 72 | struct tty_buffer sentinel; |
| 73 | struct llist_head free; /* Free queue head */ | 73 | struct llist_head free; /* Free queue head */ |
| 74 | atomic_t memory_used; /* In-use buffers excluding free list */ | 74 | atomic_t memory_used; /* In-use buffers excluding free list */ |
diff --git a/include/linux/tty_flip.h b/include/linux/tty_flip.h index 6944ed2ce692..21ddd7d9ea1f 100644 --- a/include/linux/tty_flip.h +++ b/include/linux/tty_flip.h | |||
| @@ -32,4 +32,7 @@ static inline int tty_insert_flip_string(struct tty_port *port, | |||
| 32 | return tty_insert_flip_string_fixed_flag(port, chars, TTY_NORMAL, size); | 32 | return tty_insert_flip_string_fixed_flag(port, chars, TTY_NORMAL, size); |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | extern void tty_buffer_lock_exclusive(struct tty_port *port); | ||
| 36 | extern void tty_buffer_unlock_exclusive(struct tty_port *port); | ||
| 37 | |||
| 35 | #endif /* _LINUX_TTY_FLIP_H */ | 38 | #endif /* _LINUX_TTY_FLIP_H */ |
