From: Peter Hurley Date: Sat, 15 Jun 2013 13:14:18 +0000 (-0400) Subject: n_tty: Split n_tty_chars_in_buffer() for reader-only interface X-Git-Tag: v3.12-rc1~182^2~216 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a19d0c6a9166fe3d8bb1575b64f28590206148d9;p=pandora-kernel.git n_tty: Split n_tty_chars_in_buffer() for reader-only interface 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed