diff options
Diffstat (limited to 'drivers/video/console/vgacon.c')
-rw-r--r-- | drivers/video/console/vgacon.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c index da55ccaf4d55..182dd6f8aadd 100644 --- a/drivers/video/console/vgacon.c +++ b/drivers/video/console/vgacon.c | |||
@@ -112,7 +112,7 @@ static int vga_video_font_height; | |||
112 | static int vga_scan_lines __read_mostly; | 112 | static int vga_scan_lines __read_mostly; |
113 | static unsigned int vga_rolled_over; | 113 | static unsigned int vga_rolled_over; |
114 | 114 | ||
115 | int vgacon_text_mode_force = 0; | 115 | static int vgacon_text_mode_force; |
116 | 116 | ||
117 | bool vgacon_text_force(void) | 117 | bool vgacon_text_force(void) |
118 | { | 118 | { |
@@ -585,6 +585,11 @@ static void vgacon_init(struct vc_data *c, int init) | |||
585 | vgacon_uni_pagedir[1]++; | 585 | vgacon_uni_pagedir[1]++; |
586 | if (!vgacon_uni_pagedir[0] && p) | 586 | if (!vgacon_uni_pagedir[0] && p) |
587 | con_set_default_unimap(c); | 587 | con_set_default_unimap(c); |
588 | |||
589 | /* Only set the default if the user didn't deliberately override it */ | ||
590 | if (global_cursor_default == -1) | ||
591 | global_cursor_default = | ||
592 | !(screen_info.flags & VIDEO_FLAGS_NOCURSOR); | ||
588 | } | 593 | } |
589 | 594 | ||
590 | static void vgacon_deinit(struct vc_data *c) | 595 | static void vgacon_deinit(struct vc_data *c) |