]> 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)
commit722d896f5be927d88394dc0ea481ca164b40dd2b
tree60ff9ab6543fe72fb1225e660a53dc2f147faecb
parent2708c0038ea4e4bca06d770d668597e4a2e13818
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