diff options
-rw-r--r-- | drivers/char/Kconfig | 17 | ||||
-rw-r--r-- | drivers/char/vt.c | 6 |
2 files changed, 1 insertions, 22 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 204d53e506de..4dbee616eac6 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig | |||
@@ -36,23 +36,6 @@ config VT | |||
36 | If unsure, say Y, or else you won't be able to do much with your new | 36 | If unsure, say Y, or else you won't be able to do much with your new |
37 | shiny Linux system :-) | 37 | shiny Linux system :-) |
38 | 38 | ||
39 | config VT_UNICODE | ||
40 | bool "Virtual console is Unicode by default" | ||
41 | depends on VT | ||
42 | default n | ||
43 | ---help--- | ||
44 | If you say Y here, the virtual terminal will be in UTF-8 by default, | ||
45 | and the keyboard will run in unicode mode. | ||
46 | |||
47 | If you say N here, the virtual terminal will not be in UTF-8 by | ||
48 | default, and the keyboard will run in XLATE mode. | ||
49 | |||
50 | This can also be changed by passing 'default_utf8=<0|1>' on the | ||
51 | kernel command line. | ||
52 | |||
53 | Historically, the kernel has defaulted to non-UTF8 and XLATE mode. | ||
54 | If unsure, say N here. | ||
55 | |||
56 | config VT_CONSOLE | 39 | config VT_CONSOLE |
57 | bool "Support for console on virtual terminal" if EMBEDDED | 40 | bool "Support for console on virtual terminal" if EMBEDDED |
58 | depends on VT | 41 | depends on VT |
diff --git a/drivers/char/vt.c b/drivers/char/vt.c index 645ad9808982..1764c67b585f 100644 --- a/drivers/char/vt.c +++ b/drivers/char/vt.c | |||
@@ -158,11 +158,7 @@ static void blank_screen_t(unsigned long dummy); | |||
158 | static void set_palette(struct vc_data *vc); | 158 | static void set_palette(struct vc_data *vc); |
159 | 159 | ||
160 | static int printable; /* Is console ready for printing? */ | 160 | static int printable; /* Is console ready for printing? */ |
161 | #ifdef CONFIG_VT_UNICODE | 161 | int default_utf8 = true; |
162 | int default_utf8 = 1; | ||
163 | #else | ||
164 | int default_utf8; | ||
165 | #endif | ||
166 | module_param(default_utf8, int, S_IRUGO | S_IWUSR); | 162 | module_param(default_utf8, int, S_IRUGO | S_IWUSR); |
167 | 163 | ||
168 | /* | 164 | /* |