projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tty: Ensure single-threaded flip buffer consumer with mutex
[deliverable/linux.git]
/
include
/
linux
/
tty.h
diff --git
a/include/linux/tty.h
b/include/linux/tty.h
index 7c124541f0115d354858b6649ed65e8271b6671c..1c8fef0e3ff65755936ac5833a1c5c59711293ff 100644
(file)
--- a/
include/linux/tty.h
+++ b/
include/linux/tty.h
@@
-66,7
+66,7
@@
static inline char *flag_buf_ptr(struct tty_buffer *b, int ofs)
struct tty_bufhead {
struct work_struct work;
- s
pinlock_t lock
;
+ s
truct mutex flush_mutex
;
struct tty_buffer sentinel;
struct tty_buffer *head; /* Queue head */
struct tty_buffer *tail; /* Active buffer */
This page took
0.024622 seconds
and
5
git commands to generate.