X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fconsole_struct.h;h=a86162b26c0dde5a349a81129e67b74f1506d821;hb=5409bae07a63630ba5a40f3f00b7f3e6d7eceedd;hp=f8e5587a0f92178cf3bd1604f4b4c7cc27cd3f68;hpb=e532c37858fdcc18e9a91d24c2e22cd21aa22561;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/console_struct.h b/include/linux/console_struct.h index f8e5587a0f9..a86162b26c0 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