projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e6799e
)
[MIPS] MIPSsim: Fix booting from NFS root
author
Thiemo Seufer
<ths@networkno.de>
Sun, 14 Oct 2007 16:11:06 +0000
(17:11 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 16 Oct 2007 17:23:49 +0000
(18:23 +0100)
MIPSsim probably doesn't have any sort of environment, but writing
a zero in it kills even the compiled in command line. This prevents
booting via NFS root.
Signed-Off-By: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mipssim/sim_cmdline.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/mipssim/sim_cmdline.c
b/arch/mips/mipssim/sim_cmdline.c
index c63021a5dc6c8928f216a8c35911ca90f0ec48b9..74240e1ce5a5090155a78cbf4483f13a8cff0b5f 100644
(file)
--- a/
arch/mips/mipssim/sim_cmdline.c
+++ b/
arch/mips/mipssim/sim_cmdline.c
@@
-28,8
+28,5
@@
char * __init prom_getcmdline(void)
void __init prom_init_cmdline(void)
{
- char *cp;
- cp = arcs_cmdline;
- /* Get boot line from environment? */
- *cp = '\0';
+ /* XXX: Get boot line from environment? */
}