From: Alan Cox Date: Fri, 29 Sep 2006 09:01:40 +0000 (-0700) Subject: [PATCH] Fix locking for tty drivers when doing urgent characters X-Git-Tag: v2.6.19-rc1~663 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f412b24240d92212e50ebbaff2dff20c9e6f3d0;p=pandora-kernel.git [PATCH] Fix locking for tty drivers when doing urgent characters If you send a priority character (as is done for flow control) then the tty driver can either have its own method for "jumping the queue" or the characrer can be queued normally. In the latter case we call the write method but without the atomic_write_lock taken elsewhere. Make this consistent. Note that the send_xchar method if implemented remains outside of the lock as it can jump ahead of a current write so must not be locked out by it. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed