X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fvt_kern.h;h=d961635d0e618038cae7ebbcc3abcacddce4f59d;hb=0ea971801625184a91a6d80ea85e53875caa0bf5;hp=1009d3fe1fc214e8eb920e207483ebdd7d35f1b3;hpb=f0b364a13d7fba001c0571d954f165dfaf5f434a;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h index 1009d3fe1fc..d961635d0e6 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 */