]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/mpsc.c
[PATCH] cpm_uart: needs some love to compile with GCC4.0.1
[linux-2.6-omap-h63xx.git] / drivers / serial / mpsc.c
index a2a643318002892201db6c0e2b478401e4d93cdc..e43276c6a954d611021745375b5e2344bc85d266 100644 (file)
@@ -1058,12 +1058,9 @@ mpsc_get_mctrl(struct uart_port *port)
 {
        struct mpsc_port_info *pi = (struct mpsc_port_info *)port;
        u32 mflags, status;
-       ulong iflags;
 
-       spin_lock_irqsave(&pi->port.lock, iflags);
        status = (pi->mirror_regs) ? pi->MPSC_CHR_10_m :
                readl(pi->mpsc_base + MPSC_CHR_10);
-       spin_unlock_irqrestore(&pi->port.lock, iflags);
 
        mflags = 0;
        if (status & 0x1)