diff options
Diffstat (limited to 'arch/x86_64/kernel/early_printk.c')
-rw-r--r-- | arch/x86_64/kernel/early_printk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/early_printk.c b/arch/x86_64/kernel/early_printk.c index 6dffb498ccd7..6fcdcb80b07a 100644 --- a/arch/x86_64/kernel/early_printk.c +++ b/arch/x86_64/kernel/early_printk.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #define MAX_XPOS max_xpos | 21 | #define MAX_XPOS max_xpos |
22 | 22 | ||
23 | static int max_ypos = 25, max_xpos = 80; | 23 | static int max_ypos = 25, max_xpos = 80; |
24 | static int current_ypos = 1, current_xpos = 0; | 24 | static int current_ypos = 25, current_xpos = 0; |
25 | 25 | ||
26 | static void early_vga_write(struct console *con, const char *str, unsigned n) | 26 | static void early_vga_write(struct console *con, const char *str, unsigned n) |
27 | { | 27 | { |
@@ -244,6 +244,7 @@ int __init setup_early_printk(char *opt) | |||
244 | && SCREEN_INFO.orig_video_isVGA == 1) { | 244 | && SCREEN_INFO.orig_video_isVGA == 1) { |
245 | max_xpos = SCREEN_INFO.orig_video_cols; | 245 | max_xpos = SCREEN_INFO.orig_video_cols; |
246 | max_ypos = SCREEN_INFO.orig_video_lines; | 246 | max_ypos = SCREEN_INFO.orig_video_lines; |
247 | current_ypos = max_ypos; | ||
247 | early_console = &early_vga_console; | 248 | early_console = &early_vga_console; |
248 | } else if (!strncmp(buf, "simnow", 6)) { | 249 | } else if (!strncmp(buf, "simnow", 6)) { |
249 | simnow_init(buf + 6); | 250 | simnow_init(buf + 6); |