X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Flinux%2Fconsole_struct.h;h=a86162b26c0dde5a349a81129e67b74f1506d821;hb=621a1672f7377e08a942f205d6742d8af1292aab;hp=f8e5587a0f92178cf3bd1604f4b4c7cc27cd3f68;hpb=c7c6e9494cc9a4a5b1a2ca870ed4531ad2b98a83;p=firefly-linux-kernel-4.4.55.git diff --git a/include/linux/console_struct.h b/include/linux/console_struct.h index f8e5587a0f92..a86162b26c0d 100644 --- a/include/linux/console_struct.h +++ b/include/linux/console_struct.h @@ -9,7 +9,9 @@ * to achieve effects such as fast scrolling by changing the origin. */ +#include #include +#include struct vt_struct; @@ -53,7 +55,7 @@ struct vc_data { struct tty_struct *vc_tty; /* TTY we are attached to */ /* data for manual vt switching */ struct vt_mode vt_mode; - int vt_pid; + struct pid *vt_pid; int vt_newvt; wait_queue_head_t paste_wait; /* mode flags */ @@ -102,6 +104,7 @@ struct vc_data { struct vc { struct vc_data *d; + struct work_struct SAK_work; /* might add scrmem, vt_struct, kbd at some time, to have everything in one place - the disadvantage @@ -109,6 +112,7 @@ struct vc { }; extern struct vc vc_cons [MAX_NR_CONSOLES]; +extern void vc_SAK(struct work_struct *work); #define CUR_DEF 0 #define CUR_NONE 1