]> git.baikalelectronics.ru Git - kernel.git/commit
tty: simplify ktermios allocation
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:44:08 +0000 (10:44 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:44 +0000 (09:51 -0700)
commit2cf9da28f3967ac4ff3e875cb7ab8c9b8535b276
treea1b9524ec42081e6573dd5a77bbb881117c6a73b
parenta6f09e6e588d01fb1e1d00f35dba1bcedb7de66d
tty: simplify ktermios allocation

Copy the simplification from the pty unix98 special case to the generic one.
This allows us to kill off driver->termios_locked entirely which is nice. We
have to whack bits of the cris driver as it meddles in places it shouldn't
providing its own arrays that were never used anyway.

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