aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/vt.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-06-03 09:59:40 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2008-06-04 09:56:12 -0400
commita29ccf6f823a84d89e1c7aaaf221cf7282022024 (patch)
treee65d84633a98d46ef81373e5d190c6cdc0e4282b /drivers/char/vt.c
parent1beee8dc8cf58e3f605bd7b34d7a39939be7d8d2 (diff)
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.c2
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:
2208 c = 0xfffd; 2208 c = 0xfffd;
2209 tc = c; 2209 tc = c;
2210 } else { /* no utf or alternate charset mode */ 2210 } else { /* no utf or alternate charset mode */
2211 tc = vc->vc_translate[vc->vc_toggle_meta ? (c | 0x80) : c]; 2211 tc = vc_translate(vc, c);
2212 } 2212 }
2213 2213
2214 param.c = tc; 2214 param.c = tc;