diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-06-03 15:59:40 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-06-04 15:56:12 +0200 |
commit | a29ccf6f823a84d89e1c7aaaf221cf7282022024 (patch) | |
tree | e65d84633a98d46ef81373e5d190c6cdc0e4282b /drivers/char/vt.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 (diff) | |
download | linux-a29ccf6f823a84d89e1c7aaaf221cf7282022024.tar.xz linux-a29ccf6f823a84d89e1c7aaaf221cf7282022024.zip |
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; |