git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0a515b
)
[SERIAL] Clean up serial locking when obtaining a reference to a port
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Sun, 30 Apr 2006 10:13:50 +0000
(11:13 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 30 Apr 2006 10:13:50 +0000
(11:13 +0100)
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>
No differences found