Messages in this thread Patch in this message | | | Date | Fri, 13 Jun 2008 17:10:49 -0700 | From | Greg KH <> | Subject | [patch 13/47] sunhv: Fix locking in non-paged I/O case. |
| |
-stable review patch. If anyone has any objections, please let us know.
------------------ From: David S. Miller <davem@davemloft.net>
[ upstream commit: 3651751fff44ede58f65cbb1e39242139ead251b ]
This causes the lock to be taken twice, thus resulting in a deadlock.
Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Chris Wright <chrisw@sous-sol.org> --- drivers/serial/sunhv.c | 1 - 1 file changed, 1 deletion(-)
--- a/drivers/serial/sunhv.c +++ b/drivers/serial/sunhv.c @@ -499,7 +499,6 @@ static void sunhv_console_write_bychar(s } else spin_lock(&port->lock); - spin_lock_irqsave(&port->lock, flags); for (i = 0; i < n; i++) { if (*s == '\n') sunhv_console_putchar(port, '\r'); --
| |