]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Add lock/unlock ldisc pair functions
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 11:04:47 +0000 (07:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:38:34 +0000 (16:38 -0700)
commitb8380762c9e83f8e1a2fa0064f9594a1ac044709
tree60ff9ab6543fe72fb1225e660a53dc2f147faecb
parent46fce1adb8323e42f6361f9c6f1e56781d6001f4
tty: Add lock/unlock ldisc pair functions

Just as the tty pair must be locked in a stable sequence
(ie, independent of which is consider the 'other' tty), so must
the ldisc pair be locked in a stable sequence as well.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_ldisc.c