diff options
-rw-r--r-- | drivers/video/console/vgacon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c index 7d1ae06667c6..bcf59b28a14f 100644 --- a/drivers/video/console/vgacon.c +++ b/drivers/video/console/vgacon.c | |||
@@ -337,6 +337,8 @@ static void vgacon_init(struct vc_data *c, int init) | |||
337 | c->vc_scan_lines = vga_scan_lines; | 337 | c->vc_scan_lines = vga_scan_lines; |
338 | c->vc_font.height = vga_video_font_height; | 338 | c->vc_font.height = vga_video_font_height; |
339 | c->vc_complement_mask = 0x7700; | 339 | c->vc_complement_mask = 0x7700; |
340 | if (vga_512_chars) | ||
341 | c->vc_hi_font_mask = 0x0800; | ||
340 | p = *c->vc_uni_pagedir_loc; | 342 | p = *c->vc_uni_pagedir_loc; |
341 | if (c->vc_uni_pagedir_loc == &c->vc_uni_pagedir || | 343 | if (c->vc_uni_pagedir_loc == &c->vc_uni_pagedir || |
342 | !--c->vc_uni_pagedir_loc[1]) | 344 | !--c->vc_uni_pagedir_loc[1]) |