From: Alan Cox Date: Thu, 3 May 2012 21:24:08 +0000 (+0100) Subject: tty_lock: Localise the lock X-Git-Tag: v3.5-rc1~146^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d29f3ef39be4eec0362b985305fc526d9be318cf;p=pandora-kernel.git tty_lock: Localise the lock In each remaining case the tty_lock is associated with a specific tty. This means we can now lock on a per tty basis. We do need tty_lock_pair() for the pty case. Uglier but still a step in the right direction. [fixed up calls in 3 missing drivers - gregkh] Signed-off-by: Alan Cox Acked-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed