]> err.no Git - linux-2.6/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)
commit3e8e88ca053150efdbecb45d8f481cf560ec808d
tree1a763eb645fabf5dfb869c6982bf6c8ab030982f
parentf2545a75632d18d62aa287b9e5d207255cc8bffc
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