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
..
2011-03-31 11:26:23 -03:00
2011-04-19 16:33:37 -07:00
2011-04-25 14:19:11 -07:00
2011-03-31 11:26:23 -03:00
2011-04-25 14:19:11 -07:00
2011-04-19 14:41:48 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00