提交 2f7055c5 编写于 作者: T Thiemo Seufer 提交者: Ralf Baechle

[MIPS] MIPSsim: Fix booting from NFS root

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: NThiemo Seufer <ths@networkno.de>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 0e6799ed
...@@ -28,8 +28,5 @@ char * __init prom_getcmdline(void) ...@@ -28,8 +28,5 @@ char * __init prom_getcmdline(void)
void __init prom_init_cmdline(void) void __init prom_init_cmdline(void)
{ {
char *cp; /* XXX: Get boot line from environment? */
cp = arcs_cmdline;
/* Get boot line from environment? */
*cp = '\0';
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册