Re: [PATCH] Work around console initialization ordering problem

From: Andrew Morton (akpm@digeo.com)
Date: Sun Mar 09 2003 - 16:45:06 EST


Andi Kleen <ak@muc.de> wrote:
>
>
> Works around the console ordering problem in 2.5.64-bk3. Following
> the similar fix I did for x86-64.
> ...
> + if (!strstr(saved_command_line, "console="))
> + strcat(saved_command_line, " console=tty0");
> +

We can do it by shuffling the link order:

diff -puN drivers/Makefile~console-ordering-fix drivers/Makefile
--- 25/drivers/Makefile~console-ordering-fix 2003-03-09 02:48:33.000000000 -0800
+++ 25-akpm/drivers/Makefile 2003-03-09 02:48:33.000000000 -0800
@@ -11,9 +11,10 @@ obj-$(CONFIG_ACPI) += acpi/
 # PnP must come after ACPI since it will eventually need to check if acpi
 # was used and do nothing if so
 obj-$(CONFIG_PNP) += pnp/
+obj-y += char/
 obj-y += serial/
 obj-$(CONFIG_PARPORT) += parport/
-obj-y += base/ char/ block/ misc/ net/ media/
+obj-y += base/ block/ misc/ net/ media/
 obj-$(CONFIG_NUBUS) += nubus/
 obj-$(CONFIG_ATM) += atm/
 obj-$(CONFIG_IDE) += ide/

_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:19 EST