1
linux/drivers/tty
Jiri Slaby 0ad7c9af3e Char: moxa, fix locking in moxa_write
moxa_write can be called from atomic context with irqs disabled (from
ppp_async_push). Don't enable interrupts by spin_unlock_bh as this
might cause deadlocks in the ppp layer.

Instead, use irqsave/irqrestore spin_lock functions.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-04-25 14:19:11 -07:00
..
hvc Fix common misspellings 2011-03-31 11:26:23 -03:00
ipwireless tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
serial Serial: Remove unused code. 2011-04-19 16:33:37 -07:00
vt tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
amiserial.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
bfin_jtag_comm.c drivers/tty/bfin_jtag_comm.c: avoid calling put_tty_driver on NULL 2011-03-23 19:46:39 -07:00
cyclades.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
isicom.c tty: move a number of tty drivers from drivers/char/ to drivers/tty/ 2011-02-22 16:14:56 -08:00
Kconfig tty: move a number of tty drivers from drivers/char/ to drivers/tty/ 2011-02-22 16:14:56 -08:00
Makefile tty: move ipwireless driver from drivers/char/pcmcia/ to drivers/tty/ 2011-02-22 16:23:22 -08:00
moxa.c Char: moxa, fix locking in moxa_write 2011-04-25 14:19:11 -07:00
moxa.h tty: move a number of tty drivers from drivers/char/ to drivers/tty/ 2011-02-22 16:14:56 -08:00
mxser.c tty: move a number of tty drivers from drivers/char/ to drivers/tty/ 2011-02-22 16:14:56 -08:00
mxser.h Fix common misspellings 2011-03-31 11:26:23 -03:00
n_gsm.c tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
n_hdlc.c tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
n_r3964.c tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
n_tty.c tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
nozomi.c Char: nozomi, remove useless tty_sem 2011-04-25 14:19:11 -07:00
pty.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
rocket_int.h tty: move a number of tty drivers from drivers/char/ to drivers/tty/ 2011-02-22 16:14:56 -08:00
rocket.c TTY: rocket, remove unused variables 2011-04-19 14:41:48 -07:00
rocket.h tty: move a number of tty drivers from drivers/char/ to drivers/tty/ 2011-02-22 16:14:56 -08:00
synclink_gt.c Fix common misspellings 2011-03-31 11:26:23 -03:00
synclink.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
synclinkmp.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sysrq.c lib, arch: add filter argument to show_mem and fix private implementations 2011-03-24 17:49:37 -07:00
tty_audit.c tty_audit: fix tty_audit_add_data live lock on audit disabled 2011-03-07 12:04:50 -08:00
tty_buffer.c tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
tty_io.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
tty_ioctl.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
tty_ldisc.c TTY: introduce deinit helpers for proper ldisc shutdown 2011-04-19 14:43:01 -07:00
tty_mutex.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
tty_port.c