]> err.no Git - linux-2.6/commitdiff
[PATCH] x86: start early_printk at sensible screen row
authorChuck Ebbert <76306.1226@compuserve.com>
Thu, 23 Mar 2006 10:59:42 +0000 (02:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:05 +0000 (07:38 -0800)
Use boot info to start early_printk() at the current row on VGA console, as
left by the boot loader.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Cc: Stas Sergeev <stsp@aknet.ru>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/early_printk.c

index 6fcdcb80b07a2af2f20bdea7220248cef47e7608..484025f4f0838251b6b03a36849676a13179d67a 100644 (file)
@@ -244,7 +244,7 @@ int __init setup_early_printk(char *opt)
                   && SCREEN_INFO.orig_video_isVGA == 1) {
                max_xpos = SCREEN_INFO.orig_video_cols;
                max_ypos = SCREEN_INFO.orig_video_lines;
-               current_ypos = max_ypos;
+               current_ypos = SCREEN_INFO.orig_y;
                early_console = &early_vga_console; 
        } else if (!strncmp(buf, "simnow", 6)) {
                simnow_init(buf + 6);