From 36909196cf238635c45e1a3ec7ad4a85a1c8cf1f Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 14 Jan 2009 08:56:20 +0000 Subject: [PATCH] make bootinfo valid immediately --- drivers/tty/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/console.c b/drivers/tty/console.c index 999ce9752..216f0a428 100644 --- a/drivers/tty/console.c +++ b/drivers/tty/console.c @@ -1033,9 +1033,9 @@ tty_t *tp; memset(&boot_tty_info, 0, sizeof(boot_tty_info)); UPDATE_CURSOR(cons, cons->c_cur); - UPDATE_ORIGIN(cons, cons->c_org); boot_tty_info.flags = BTIF_CONSCURSOR | BTIF_CONSORIGIN; boot_tty_info.magic = TTYMAGIC; + UPDATE_ORIGIN(cons, cons->c_org); } select_console(0); cons_ioctl(tp, 0); -- 2.44.0