]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: move ldisc data from tty_struct: locks
authorJiri Slaby <jslaby@suse.cz>
Thu, 18 Oct 2012 20:26:42 +0000 (22:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 23:53:01 +0000 (16:53 -0700)
commit94f144554e38a070bd0a0310280176e45de68fce
tree2d34628864104d0913d18cccc7eee51f730fdea9
parent36a4678d683bd906f629358d208f659cb6957344
TTY: move ldisc data from tty_struct: locks

atomic_write_lock is not n_tty specific, so move it up in the
tty_struct.

And since these are the last ones to move, remove also the comment
saying there are some ldisc' members. There are none now.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c
drivers/tty/tty_io.c
include/linux/tty.h