projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
097975f
)
When no yamon command line is passed to the kernel, preserve the default
author
Pete Popov
<ppopov@embeddedalley.com>
Tue, 13 Sep 2005 22:52:55 +0000
(22:52 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 29 Oct 2005 18:32:19 +0000
(19:32 +0100)
compiled in command line.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/common/prom.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/au1000/common/prom.c
b/arch/mips/au1000/common/prom.c
index 22e5a85af4d5cb1fc78069d90c3b4baa1d223b40..9c171afd9a534f121e1e4c0ff5c0c8165e9951e8 100644
(file)
--- a/
arch/mips/au1000/common/prom.c
+++ b/
arch/mips/au1000/common/prom.c
@@
-75,7
+75,8
@@
void prom_init_cmdline(void)
}
if (cp != &(arcs_cmdline[0])) /* get rid of trailing space */
--cp;
- *cp = '\0';
+ if (prom_argc > 1)
+ *cp = '\0';
}