commit | 57e3e3b9187765f042c131db1a8b66bee67fc5fb | [log] [tgz] |
---|---|---|
author | Pete Popov <ppopov@embeddedalley.com> | Tue Sep 13 22:52:55 2005 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Sat Oct 29 19:32:19 2005 +0100 |
tree | 5b0d42e6e84fdd7b0f69e52c8b3ead2e03dbb2a9 | |
parent | 097975fc6651ee8f43ffc930ae0c4851ec979454 [diff] |
When no yamon command line is passed to the kernel, preserve the default compiled in command line. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/au1000/common/prom.c b/arch/mips/au1000/common/prom.c index 22e5a85..9c171af 100644 --- a/arch/mips/au1000/common/prom.c +++ b/arch/mips/au1000/common/prom.c
@@ -75,7 +75,8 @@ } if (cp != &(arcs_cmdline[0])) /* get rid of trailing space */ --cp; - *cp = '\0'; + if (prom_argc > 1) + *cp = '\0'; }