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>
This commit is contained in:
parent
70ece7a731
commit
53c5ee2cfb
3 changed files with 93 additions and 73 deletions
|
|
@ -270,13 +270,8 @@ struct tty_struct {
|
|||
* historical reasons, this is included in the tty structure.
|
||||
* Mostly locked by the BKL.
|
||||
*/
|
||||
unsigned int column;
|
||||
unsigned char lnext:1, erasing:1, raw:1, real_raw:1, icanon:1;
|
||||
unsigned char closing:1;
|
||||
unsigned char echo_overrun:1;
|
||||
unsigned short minimum_to_wake;
|
||||
unsigned long overrun_time;
|
||||
int num_overrun;
|
||||
unsigned long process_char_map[256/(8*sizeof(unsigned long))];
|
||||
char *read_buf;
|
||||
int read_head;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue