diff options
author | 2013-03-11 16:44:21 -0400 | |
---|---|---|
committer | 2013-03-18 16:32:46 -0700 | |
commit | 21622939fc452c7fb739464b8e49368c3ceaa0ee (patch) | |
tree | c96d6a137611e9d976a4d391a48c94f5267db7ff /include/linux/tty.h | |
parent | tty: ifx6x60: Remove unused suspend/resume callbacks (diff) | |
download | linux-21622939fc452c7fb739464b8e49368c3ceaa0ee.tar.gz linux-21622939fc452c7fb739464b8e49368c3ceaa0ee.tar.bz2 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.h | 1 |
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)) |