git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f1352
)
n_tty: Split n_tty_chars_in_buffer() for reader-only interface
author
Peter Hurley
<peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:14:18 +0000
(09:14 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:43:00 +0000
(16:43 -0700)
N_TTY .chars_in_buffer() method requires serialized access if
the current thread is not the single-consumer, n_tty_read().
Separate the internal interface; prepare for lockless read-side.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c
patch
|
blob
|
history
diff --cc
drivers/tty/n_tty.c
Simple merge