]> git.baikalelectronics.ru Git - kernel.git/commit
pty: prepare for tty->ops changes
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 30 Apr 2008 07:54:10 +0000 (00:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:46 +0000 (08:29 -0700)
commit9df8f523ef550876827aa1842a4299dd73cdea69
tree1a763eb645fabf5dfb869c6982bf6c8ab030982f
parent45db3ad8e9aac0669aad2fb59366df6873272b9e
pty: prepare for tty->ops changes

We are about to change the tty layer to avoid keeping private copies of all
the methods in each tty.  We have to update the pty layer first as it
currently patches the ioctl method according to the tty type.  Use multiple
tty operations sets instead.

Signed-off-by: Alan Cox <alan@redhat.com>
Acked-by: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/pty.c