Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=db002b8597df84643e949cce793d0f696f100c9e
Commit:     db002b8597df84643e949cce793d0f696f100c9e
Parent:     0e5f82dda5e60a21cf8ba4f77334d60290277d2c
Author:     Russell King <[EMAIL PROTECTED]>
AuthorDate: Tue Jun 5 19:39:49 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Tue Jun 5 19:39:49 2007 +0100

    [ARM] Fix 4417/1: Serial: Fix AMBA drivers locking
    
    2389b272168ceec056ca1d8a870a97fa9c26e11a contains a merge bug; fix it.
    
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 drivers/serial/amba-pl010.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/serial/amba-pl010.c b/drivers/serial/amba-pl010.c
index 00d1255..e88da72 100644
--- a/drivers/serial/amba-pl010.c
+++ b/drivers/serial/amba-pl010.c
@@ -167,9 +167,9 @@ static void pl010_rx_chars(struct uart_amba_port *uap)
        ignore_char:
                status = readb(uap->port.membase + UART01x_FR);
        }
-       spin_unlock(&port->lock);
+       spin_unlock(&uap->port.lock);
        tty_flip_buffer_push(tty);
-       spin_lock(&port->lock);
+       spin_lock(&uap->port.lock);
 }
 
 static void pl010_tx_chars(struct uart_amba_port *uap)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to