summaryrefslogtreecommitdiff
path: root/arch/mips/mips-boards/sim/sim_cmdline.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-04-05 12:45:45 +0400
committerRalf Baechle <ralf@linux-mips.org>2006-04-19 06:14:28 +0400
commit41c594ab65fc89573af296d192aa5235d09717ab (patch)
tree562462512a320f386bdf49eabfbb26bb3ee761fa /arch/mips/mips-boards/sim/sim_cmdline.c
parent2600990e640e3bef29ed89d565864cf16ee83833 (diff)
downloadlinux-41c594ab65fc89573af296d192aa5235d09717ab.tar.xz
[MIPS] MT: Improved multithreading support.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
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 9df37c6fca36..c63021a5dc6c 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';
}