diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-04-30 11:13:50 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-04-30 11:13:50 +0100 |
commit | 68ac64cd3fd89fdaa091701f6ab98a9065e9b1b5 (patch) | |
tree | 349dc1446bb52b87ce11f7ba2bb52d90679d3dd5 /drivers/serial/8250_au1x00.c | |
parent | e0a515bc6a2188f02916e976f419a8640312e32a (diff) |
[SERIAL] Clean up serial locking when obtaining a reference to a port
The locking for the uart_port is over complicated, and can be
simplified if we introduce a flag to indicate that a port is "dead"
and will be removed.
This also helps the validator because it removes a case of non-nested
unlock ordering.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'drivers/serial/8250_au1x00.c')
0 files changed, 0 insertions, 0 deletions