Re: [7/7] LEON SPARC V8 processor support for linux-2.6.10

From: Clemens Buchacher
Date: Sun Jan 09 2005 - 04:38:06 EST


On Tue, Jan 04, 2005 at 08:04:44PM +0100, Jiri Gaisler wrote:
> +static irqreturn_t leonuart_int(int irq, void *dev_id, struct pt_regs *regs)
> +{
> + struct uart_port *port = dev_id;
> + unsigned int status;
> +
> + spin_lock(port ->lock);

I think that should be

spin_lock(&port->lock);

[...]
> + spin_unlock(port ->lock);

and

spin_unlock(&port->lock);

> + return IRQ_HANDLED;
> +}

Regards,
Clemens
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/