From 996e34cc0eb0818d2e7b029f517e862b6febec72 Mon Sep 17 00:00:00 2001 From: James Simmons Date: Sun, 30 Jun 2002 22:19:13 -0700 Subject: Started to enforce a one to one relationship between struct tty_struct and struct vc_data. It will make it easier to handle things. --- include/linux/console_struct.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux/console_struct.h') diff --git a/include/linux/console_struct.h b/include/linux/console_struct.h index bbf34f3aa21f..d86c16e96d11 100644 --- a/include/linux/console_struct.h +++ b/include/linux/console_struct.h @@ -33,6 +33,7 @@ struct vc_data { unsigned int vc_top, vc_bottom; /* Scrolling region */ unsigned int vc_state; /* Escape sequence parser state */ unsigned int vc_npar,vc_par[NPAR]; /* Parameters of current escape sequence */ + struct tty_struct *vc_tty; /* TTY we are attached to */ unsigned long vc_origin; /* [!] Start of real screen */ unsigned long vc_scr_end; /* [!] End of real screen */ unsigned long vc_visible_origin; /* [!] Top of visible window */ -- cgit v1.2.3