From: Chuck Ebbert <76306.1226@compuserve.com> Date: Thu, 23 Mar 2006 10:59:42 +0000 (-0800) Subject: [PATCH] x86: start early_printk at sensible screen row X-Git-Tag: v2.6.17-rc1~1096 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=98e7d9b0529b6a348f2978a926806930a9902067;p=platform%2Fkernel%2Flinux-3.10.git [PATCH] x86: start early_printk at sensible screen row 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 Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/kernel/early_printk.c b/arch/x86_64/kernel/early_printk.c index 6fcdcb8..484025f 100644 --- a/arch/x86_64/kernel/early_printk.c +++ b/arch/x86_64/kernel/early_printk.c @@ -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);