Re: [Nios2-dev] [PATCH 1/2] serial: Add driver for the Altera JTAGUART

From: Alan Cox
Date: Thu May 06 2010 - 07:11:35 EST


> I was originally responsible for adding the spin locks to these console
> putc functions, but I'm not sure what the policy is regarding that, as
> the 8250 driver doesn't use them for console output for example.

For the console it depends if you need them for internal consistency as I
understand the codebase. For the core stuff it currently protects
port->port.tty against a hangup which would drop the tty under you.

--
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/