summaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-03-11 16:44:21 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-18 16:32:46 -0700
commit21622939fc452c7fb739464b8e49368c3ceaa0ee (patch)
treec96d6a137611e9d976a4d391a48c94f5267db7ff /include/linux/tty.h
parent91debb0383d6564e0dc8ae76181f6daf8e24717a (diff)
downloadblackbird-op-linux-21622939fc452c7fb739464b8e49368c3ceaa0ee.tar.gz
blackbird-op-linux-21622939fc452c7fb739464b8e49368c3ceaa0ee.zip
tty: Add diagnostic for halted line discipline
Flip buffer work must not be scheduled by the line discipline after the line discipline has been halted; issue warning. Note: drivers can still schedule flip buffer work. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r--include/linux/tty.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index d3548f871968..66ae020e8a98 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -315,6 +315,7 @@ struct tty_file_private {
#define TTY_NO_WRITE_SPLIT 17 /* Preserve write boundaries to driver */
#define TTY_HUPPED 18 /* Post driver->hangup() */
#define TTY_HUPPING 21 /* ->hangup() in progress */
+#define TTY_LDISC_HALTED 22 /* Line discipline is halted */
#define TTY_WRITE_FLUSH(tty) tty_write_flush((tty))
OpenPOWER on IntegriCloud