X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=include%2Flinux%2Fvt_kern.h;h=9448ffbdcbf62937047a69f1281116f133d5c079;hb=9f248bde9d47cc177011198c9a15fb339b9f3215;hp=1009d3fe1fc214e8eb920e207483ebdd7d35f1b3;hpb=c0341b0f47722fbe5ab45f436fc6ddc1c58c0a6f;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h index 1009d3fe1fc..9448ffbdcbf 100644 --- a/include/linux/vt_kern.h +++ b/include/linux/vt_kern.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include @@ -74,6 +75,9 @@ int con_copy_unimap(struct vc_data *dst_vc, struct vc_data *src_vc); int vt_waitactive(int vt); void change_console(struct vc_data *new_vc); void reset_vc(struct vc_data *vc); +extern int unbind_con_driver(const struct consw *csw, int first, int last, + int deflt); +int vty_init(void); /* * vc_screen.c shares this temporary buffer with the console write code so that @@ -82,6 +86,15 @@ 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; +extern int default_utf8; + +struct vt_spawn_console { + spinlock_t lock; + struct pid *pid; + int sig; +}; +extern struct vt_spawn_console vt_spawn_con; #endif /* _VT_KERN_H */