summaryrefslogtreecommitdiffstats
path: root/drivers/char/vt.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2007-10-18 03:04:34 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 14:37:17 -0700
commit77bf2bab91e4e7df361963451c7b9a803516438c (patch)
treea574c2a323880a21fa90c7c5a3b8bc23392d50da /drivers/char/vt.c
parentb7c698f755c843dec5c54bf89893c320b8fbdfce (diff)
downloadop-kernel-dev-77bf2bab91e4e7df361963451c7b9a803516438c.zip
op-kernel-dev-77bf2bab91e4e7df361963451c7b9a803516438c.tar.gz
Remove CONFIG_VT_UNICODE
Since default_utf8 is already a sysfs attribute, having an extra CONFIG_VT_UNICODE compile-time option is redundant, since sysfs attributes can be set at boot and run time. Also let Linux VCs default to UTF-8 (as per the discussion at http://lkml.org/lkml/2007/9/6/99). Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Cc: Bill Nottingham <notting@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/vt.c')
-rw-r--r--drivers/char/vt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/char/vt.c b/drivers/char/vt.c
index 645ad98..1764c67 100644
--- a/drivers/char/vt.c
+++ b/drivers/char/vt.c
@@ -158,11 +158,7 @@ static void blank_screen_t(unsigned long dummy);
static void set_palette(struct vc_data *vc);
static int printable; /* Is console ready for printing? */
-#ifdef CONFIG_VT_UNICODE
-int default_utf8 = 1;
-#else
-int default_utf8;
-#endif
+int default_utf8 = true;
module_param(default_utf8, int, S_IRUGO | S_IWUSR);
/*
OpenPOWER on IntegriCloud