mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chuck Ebbert <76306.1226@compuserve.com>
To: Andi Kleen <ak@suse.de>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: [patch] x86_64: don't use early_printk() during memory init
Date: Fri, 24 Feb 2006 20:45:49 -0500	[thread overview]
Message-ID: <200602242049_MC3-1-B938-400B@compuserve.com> (raw)

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@compuserve.com>

---

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

             reply	other threads:[~2006-02-25  1:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-25  1:45 Chuck Ebbert [this message]
2006-02-25  4:26 ` Andi Kleen
2006-02-25  6:22 Chuck Ebbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200602242049_MC3-1-B938-400B@compuserve.com \
    --to=76306.1226@compuserve.com \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome