diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-06-03 17:59:40 +0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-06-04 17:56:12 +0400 |
commit | a29ccf6f823a84d89e1c7aaaf221cf7282022024 (patch) | |
tree | e65d84633a98d46ef81373e5d190c6cdc0e4282b /drivers/char/vt.c | |
parent | 1beee8dc8cf58e3f605bd7b34d7a39939be7d8d2 (diff) | |
download | linux-a29ccf6f823a84d89e1c7aaaf221cf7282022024.tar.xz |
Make console charset translation optional
By turning off the new CONSOLE_TRANSLATIONS option and dropping the
associated code and tables from the kernel, we can save about 7KiB.
Taken from linux-tiny project by Tim Bird and mangled further by dwmw2.
Signed-off-by: Tim Bird <tim.bird@am.sony.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/char/vt.c')
-rw-r--r-- | drivers/char/vt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/vt.c b/drivers/char/vt.c index fa1ffbf2c621..18b7fb06dace 100644 --- a/drivers/char/vt.c +++ b/drivers/char/vt.c @@ -2208,7 +2208,7 @@ rescan_last_byte: c = 0xfffd; tc = c; } else { /* no utf or alternate charset mode */ - tc = vc->vc_translate[vc->vc_toggle_meta ? (c | 0x80) : c]; + tc = vc_translate(vc, c); } param.c = tc; |