diff options
author | Thiemo Seufer <ths@networkno.de> | 2007-10-14 12:11:06 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-16 13:23:49 -0400 |
commit | 2f7055c5932ecc02159be375ebda1eee64665d17 (patch) | |
tree | c4de3e865dcbb9af7becf7fa36190027b23d2321 /arch/mips | |
parent | 0e6799ed076fb11b3ee0a8bc19018f3410e357b2 (diff) |
[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: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/mipssim/sim_cmdline.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/mips/mipssim/sim_cmdline.c b/arch/mips/mipssim/sim_cmdline.c index c63021a5dc6c..74240e1ce5a5 100644 --- a/arch/mips/mipssim/sim_cmdline.c +++ b/arch/mips/mipssim/sim_cmdline.c | |||
@@ -28,8 +28,5 @@ char * __init prom_getcmdline(void) | |||
28 | 28 | ||
29 | void __init prom_init_cmdline(void) | 29 | void __init prom_init_cmdline(void) |
30 | { | 30 | { |
31 | char *cp; | 31 | /* XXX: Get boot line from environment? */ |
32 | cp = arcs_cmdline; | ||
33 | /* Get boot line from environment? */ | ||
34 | *cp = '\0'; | ||
35 | } | 32 | } |