public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Work around console initialization ordering problem
@ 2003-03-09 16:32 Andi Kleen
  2003-03-09 21:45 ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: Andi Kleen @ 2003-03-09 16:32 UTC (permalink / raw)
  To: linux-kernel


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';

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-03-10  0:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-09 16:32 [PATCH] Work around console initialization ordering problem Andi Kleen
2003-03-09 21:45 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox