From: Jiri Slaby Date: Wed, 20 Apr 2011 08:43:15 +0000 (+0200) Subject: Char: moxa, fix locking in moxa_write X-Git-Tag: v3.0-rc1~338^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ad7c9af3e1cbb97082062266705d6cb5fb207ee;p=pandora-kernel.git 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 Cc: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed