[SERIAL] 8250: add locking to console write function
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 2 May 2006 15:04:29 +0000 (16:04 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 2 May 2006 15:04:29 +0000 (16:04 +0100)
commitd8a5a8d7cc32e4474326e0ecc1b959063490efc9
treeb174cda624301fde6e020e346b60b5e8e31f6283
parenta88d75b257b2b28b26d7d4d2b640f05feb00ad53
[SERIAL] 8250: add locking to console write function

x86 SMP breaks as a result of the previous change, we have no real
option other than to add locking to the 8250 console write function.
If an oops is in progress, try to acquire the lock.  If we fail to
do so, continue anyway.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/8250.c