diff options
Diffstat (limited to 'include/linux/tty_ldisc.h')
| -rw-r--r-- | include/linux/tty_ldisc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/tty_ldisc.h b/include/linux/tty_ldisc.h index add26da2faeb..00c9d688d7b7 100644 --- a/include/linux/tty_ldisc.h +++ b/include/linux/tty_ldisc.h | |||
| @@ -92,7 +92,10 @@ | |||
| 92 | * This function is called by the low-level tty driver to signal | 92 | * This function is called by the low-level tty driver to signal |
| 93 | * that line discpline should try to send more characters to the | 93 | * that line discpline should try to send more characters to the |
| 94 | * low-level driver for transmission. If the line discpline does | 94 | * low-level driver for transmission. If the line discpline does |
| 95 | * not have any more data to send, it can just return. | 95 | * not have any more data to send, it can just return. If the line |
| 96 | * discipline does have some data to send, please arise a tasklet | ||
| 97 | * or workqueue to do the real data transfer. Do not send data in | ||
| 98 | * this hook, it may leads to a deadlock. | ||
| 96 | * | 99 | * |
| 97 | * int (*hangup)(struct tty_struct *) | 100 | * int (*hangup)(struct tty_struct *) |
| 98 | * | 101 | * |
