]> git.baikalelectronics.ru Git - kernel.git/commit
tty: move tioclinux from a special case
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:36:40 +0000 (10:36 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:40 +0000 (09:51 -0700)
commit91d83188091be3a9127c727cecf0033b8a6ed31b
tree77454a1a03bd0021945e3e6ef08b6f39ef8dbf14
parent297ace1acfc5d09ba31d5e87c761387b73e0ce82
tty: move tioclinux from a special case

Right now we have ifdefs and hooks in the core ioctl handler for TIOCLINUX
and then test if its a console. This is brain dead. Instead call the
tioclinux helper from the relevant driver ioctl methods.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_io.c
drivers/char/vt.c
drivers/char/vt_ioctl.c