diff options
author | David S. Miller <davem@davemloft.net> | 2008-05-21 08:42:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-21 08:42:09 +0200 |
commit | 3651751fff44ede58f65cbb1e39242139ead251b (patch) | |
tree | 01889119126befd1eeb95a045ead0061efeb7752 /drivers/serial/sunhv.c | |
parent | sparc64: Add global register dumping facility. (diff) | |
download | linux-3651751fff44ede58f65cbb1e39242139ead251b.tar.xz linux-3651751fff44ede58f65cbb1e39242139ead251b.zip |
sunhv: Fix locking in non-paged I/O case.
This causes the lock to be taken twice, thus resulting in
a deadlock.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/serial/sunhv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/serial/sunhv.c b/drivers/serial/sunhv.c index 145c0281495d..2847336742d7 100644 --- a/drivers/serial/sunhv.c +++ b/drivers/serial/sunhv.c @@ -499,7 +499,6 @@ static void sunhv_console_write_bychar(struct console *con, const char *s, unsig } 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'); |