diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-10-18 16:26:39 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-22 19:53:00 -0400 |
commit | 53c5ee2cfb4dadc4f5c24fe671e2fbfc034c875e (patch) | |
tree | eb5813a4cc186299b3be5bda0fd06617d7940403 /drivers/tty/tty_io.c | |
parent | 70ece7a731598ac760c2a34421fcb2de18d2713f (diff) |
TTY: move ldisc data from tty_struct: simple members
Here we start moving all the n_tty related bits from tty_struct to
the newly defined n_tty_data struct in n_tty proper.
In this patch primitive members and bits are moved. The rest will be
done per-partes in the next patches.
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>
Diffstat (limited to 'drivers/tty/tty_io.c')
-rw-r--r-- | drivers/tty/tty_io.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index e835a5b8d089..67b024ca16ec 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c | |||
@@ -2932,7 +2932,6 @@ void initialize_tty_struct(struct tty_struct *tty, | |||
2932 | tty_ldisc_init(tty); | 2932 | tty_ldisc_init(tty); |
2933 | tty->session = NULL; | 2933 | tty->session = NULL; |
2934 | tty->pgrp = NULL; | 2934 | tty->pgrp = NULL; |
2935 | tty->overrun_time = jiffies; | ||
2936 | tty_buffer_init(tty); | 2935 | tty_buffer_init(tty); |
2937 | mutex_init(&tty->legacy_mutex); | 2936 | mutex_init(&tty->legacy_mutex); |
2938 | mutex_init(&tty->termios_mutex); | 2937 | mutex_init(&tty->termios_mutex); |