aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/vt_kern.h
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-10-17 02:29:38 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 11:42:56 -0400
commit2e8ecb9db0bcc19e1cc8bb51e9252fe6a86a9863 (patch)
treec3d77e23a5aad820968601516392f8f440691f7a /include/linux/vt_kern.h
parent430d275a399175c7c0673459738979287ec1fd22 (diff)
add CONFIG_VT_UNICODE
As of now, the kernel defaults to non-unicode and XLATE for the keyboard. We've been changing this in Fedora, but that requires patching the defaults in the kernel. The attached introduces CONFIG_VT_UNICODE, which sets the console in unicode mode by default on boot, including both the virtual terminal and the keyboard driver. Signed-off-by: Bill Nottingham <notting@redhat.com> Cc: Samuel Thibault <samuel.thibault@ens-lyon.org> Cc: Dmitry Torokhov <dtor@mail.ru> Cc: Jiri Kosina <jkosina@suse.cz> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/vt_kern.h')
-rw-r--r--include/linux/vt_kern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h
index 699b7e9864fa..feb5e99a1079 100644
--- a/include/linux/vt_kern.h
+++ b/include/linux/vt_kern.h
@@ -87,6 +87,7 @@ extern int unbind_con_driver(const struct consw *csw, int first, int last,
87extern char con_buf[CON_BUF_SIZE]; 87extern char con_buf[CON_BUF_SIZE];
88extern struct mutex con_buf_mtx; 88extern struct mutex con_buf_mtx;
89extern char vt_dont_switch; 89extern char vt_dont_switch;
90extern int default_utf8;
90 91
91struct vt_spawn_console { 92struct vt_spawn_console {
92 spinlock_t lock; 93 spinlock_t lock;