mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
tty: Move the vt_tty field from the vc_data into the standard tty_port
This takes all the tty references through the expected interface points so we can refcount them. Signed-off-by: Alan Cox <alan@linux.intel.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
ff917ba4f1
commit
8ce73264b7
4 changed files with 11 additions and 12 deletions
|
@ -58,7 +58,6 @@ struct vc_data {
|
|||
/* VT terminal data */
|
||||
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 */
|
||||
/* data for manual vt switching */
|
||||
struct vt_mode vt_mode;
|
||||
struct pid *vt_pid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue