From: Alan Cox Date: Mon, 30 Nov 2009 13:18:24 +0000 (+0000) Subject: tty: moxa: split open lock X-Git-Tag: v2.6.33-rc1~310^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8c62103fd5fecc8d2086bae244b32d089892175;p=pandora-kernel.git tty: moxa: split open lock moxa_openlock is used for several situations where we want to handle the case of an ioctl that crosses many ports (not just the open tty), and also cases where an open races a deinit (eg a pci unplug) and we hangup a port before we can cope with that. The non open race cases can use the moxa_lock spinlock. This simplifies sorting out the remaining mess. Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed