aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/mips-boards/sim/sim_cmdline.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mips-boards/sim/sim_cmdline.c')
-rw-r--r--arch/mips/mips-boards/sim/sim_cmdline.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/mips-boards/sim/sim_cmdline.c b/arch/mips/mips-boards/sim/sim_cmdline.c
index 9df37c6fca3..c63021a5dc6 100644
--- a/arch/mips/mips-boards/sim/sim_cmdline.c
+++ b/arch/mips/mips-boards/sim/sim_cmdline.c
@@ -26,8 +26,10 @@ char * __init prom_getcmdline(void)
return arcs_cmdline;
}
-
void __init prom_init_cmdline(void)
{
- /* nothing to do */
+ char *cp;
+ cp = arcs_cmdline;
+ /* Get boot line from environment? */
+ *cp = '\0';
}