From a19d0c6a9166fe3d8bb1575b64f28590206148d9 Mon Sep 17 00:00:00 2001 From: Peter Hurley Date: Sat, 15 Jun 2013 09:14:18 -0400 Subject: [PATCH] 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-format-patch failed