aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/early_printk.c
diff options
context:
space:
mode:
authorChuck Ebbert <76306.1226@compuserve.com>2006-03-23 05:59:42 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-23 10:38:05 -0500
commit98e7d9b0529b6a348f2978a926806930a9902067 (patch)
tree9e00dfe4775f88f2c9dc21aa25a081edb374a436 /arch/x86_64/kernel/early_printk.c
parent99b7de33477882b86d54ce8ecbf90147f9d106d7 (diff)
[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 <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>
Diffstat (limited to 'arch/x86_64/kernel/early_printk.c')
-rw-r--r--arch/x86_64/kernel/early_printk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/early_printk.c b/arch/x86_64/kernel/early_printk.c
index 6fcdcb80b07a..484025f4f083 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)
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 current_ypos = SCREEN_INFO.orig_y;
248 early_console = &early_vga_console; 248 early_console = &early_vga_console;
249 } else if (!strncmp(buf, "simnow", 6)) { 249 } else if (!strncmp(buf, "simnow", 6)) {
250 simnow_init(buf + 6); 250 simnow_init(buf + 6);