X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=include%2Flinux%2Ftty_ldisc.h;h=00c9d688d7b7189cc4e15c266f29296cb3204145;hb=879eb9c3f9b854394c5a2014b9243c00eaa329f0;hp=add26da2faeb2a7c8afed63bfdfff2d78d9da0d2;hpb=3123bca71993c2346a458875488863772c1d5dc4;p=linux-2.6-microblaze.git 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 @@ * This function is called by the low-level tty driver to signal * that line discpline should try to send more characters to the * low-level driver for transmission. If the line discpline does - * not have any more data to send, it can just return. + * not have any more data to send, it can just return. If the line + * discipline does have some data to send, please arise a tasklet + * or workqueue to do the real data transfer. Do not send data in + * this hook, it may leads to a deadlock. * * int (*hangup)(struct tty_struct *) *