X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fvt_kern.h;h=d961635d0e618038cae7ebbcc3abcacddce4f59d;hb=5c34202b8bf942da411b6599668a76b07449bbfd;hp=1009d3fe1fc214e8eb920e207483ebdd7d35f1b3;hpb=e993835441734c184d70d3716eed78a08eeb71c2;p=linux-2.6 diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h index 1009d3fe1f..d961635d0e 100644 --- a/include/linux/vt_kern.h +++ b/include/linux/vt_kern.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include @@ -82,6 +83,14 @@ void reset_vc(struct vc_data *vc); #define CON_BUF_SIZE (CONFIG_BASE_SMALL ? 256 : PAGE_SIZE) extern char con_buf[CON_BUF_SIZE]; -extern struct semaphore con_buf_sem; +extern struct mutex con_buf_mtx; +extern char vt_dont_switch; + +struct vt_spawn_console { + spinlock_t lock; + struct pid *pid; + int sig; +}; +extern struct vt_spawn_console vt_spawn_con; #endif /* _VT_KERN_H */