Re: [PATCH] CONFIG_CMDLINE broken on ppc

From: Tom Rini
Date: Wed Sep 08 2004 - 08:59:52 EST


On Wed, Sep 08, 2004 at 03:40:28PM +0200, Olaf Hering wrote:

> CONFIG_CMDLINE can not work on ppc.
> machine_init() copies the string to cmd_line, then platform_init() is
> called. It truncates the string to length zero.

This has come up before, actually. What happens if CMDLINE isn't set,
and we don't terminate cmd_line here? It's part of the BSS and is
zero'd out anyways?

--
Tom Rini
http://gate.crashing.org/~trini/
-
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/