From: Russell King Date: Sun, 30 Apr 2006 10:13:50 +0000 (+0100) Subject: [SERIAL] Clean up serial locking when obtaining a reference to a port X-Git-Tag: v2.6.17-rc4~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68ac64cd3fd89fdaa091701f6ab98a9065e9b1b5;p=pandora-kernel.git [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 Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton --- Reading git-diff-tree failed