All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Work around console initialization ordering problem
Date: Sun, 9 Mar 2003 17:32:42 +0100	[thread overview]
Message-ID: <20030309163242.GA2335@averell> (raw)


Works around the console ordering problem in 2.5.64-bk3. Following 
the similar fix I did for x86-64.

-Andi

--- linux-2.5.64-work/arch/i386/kernel/setup.c-o	2003-03-05 10:40:08.000000000 +0100
+++ linux-2.5.64-work/arch/i386/kernel/setup.c	2003-03-09 17:27:57.000000000 +0100
@@ -516,6 +516,9 @@
 	int len = 0;
 	int userdef = 0;
 
+	if (!strstr(saved_command_line, "console="))
+	     strcat(saved_command_line, " console=tty0");
+
 	/* Save unparsed command line copy for /proc/cmdline */
 	memcpy(saved_command_line, COMMAND_LINE, COMMAND_LINE_SIZE);
 	saved_command_line[COMMAND_LINE_SIZE-1] = '\0';

             reply	other threads:[~2003-03-09 16:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-09 16:32 Andi Kleen [this message]
2003-03-09 21:45 ` [PATCH] Work around console initialization ordering problem Andrew Morton
2003-03-09 23:34   ` Andi Kleen
2003-03-09 23:57     ` Andries Brouwer
2003-03-10  0:25       ` Andi Kleen
2003-03-10  0:42     ` Johannes Erdfelt

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=20030309163242.GA2335@averell \
    --to=ak@muc.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.