]> git.karo-electronics.de Git - karo-tx-linux.git/commit
serial: bfin-uart: avoid dead lock in rx irq handler in smp kernel
authorSteven Miao <realmz6@gmail.com>
Wed, 7 Nov 2012 05:27:56 +0000 (13:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Nov 2012 00:59:58 +0000 (16:59 -0800)
commit9642dbe73c8a3b55a812253fcb9add9eeed4ca81
treebdd51cf2a84b33b7c672d738b5a1eaf12bab342d
parent7a876b39b5bc94f67e8a3a7adfd270b8c21fc762
serial: bfin-uart: avoid dead lock in rx irq handler in smp kernel

Disabing dma irq and lock bottom half in smp kernel doesn't ensure exclusive
uart access. Call spin_lock_irqsave() instead.

Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/bfin_uart.c