[patch] x86_64: don't use early_printk() during memory init

From: Chuck Ebbert
Date: Fri Feb 24 2006 - 20:48:20 EST


printk is working by the time this memory init message prints.
As it stands, output jumps to the top of the screen and prints
this message, then back to normal boot messages, overwriting
a line at the top.

Signed-off-by: Chuck Ebbert <76306.1226@xxxxxxxxxxxxxx>

---

This bug was introduced 5 weeks ago and should be fixed before 2.6.16.

--- 2.6.16-rc4-64.orig/arch/x86_64/mm/init.c
+++ 2.6.16-rc4-64/arch/x86_64/mm/init.c
@@ -312,7 +312,7 @@ static void __init find_early_table_spac
table_start >>= PAGE_SHIFT;
table_end = table_start;

- early_printk("kernel direct mapping tables up to %lx @ %lx-%lx\n",
+ printk("kernel direct mapping tables up to %lx @ %lx-%lx\n",
end, table_start << PAGE_SHIFT, table_end << PAGE_SHIFT);
}

--
Chuck
"Equations are the Devil's sentences." --Stephen Colbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/