1 --- a/arch/mips/alchemy/mtx-1/init.c
2 +++ b/arch/mips/alchemy/mtx-1/init.c
4 #include <linux/init.h>
6 #include <asm/bootinfo.h>
7 +#include <asm/string.h>
11 @@ -49,7 +49,7 @@ void __init prom_init(void)
12 prom_argv = (char **)fw_arg1;
13 prom_envp = (char **)fw_arg2;
15 - prom_init_cmdline();
16 + strcpy(arcs_cmdline, CONFIG_CMDLINE);
18 memsize_str = prom_getenv("memsize");