commit | 68ac64cd3fd89fdaa091701f6ab98a9065e9b1b5 | [log] [tgz] |
---|---|---|
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | Sun Apr 30 11:13:50 2006 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Apr 30 11:13:50 2006 +0100 |
tree | 349dc1446bb52b87ce11f7ba2bb52d90679d3dd5 | |
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>