ar7: remove patches/configs for old kernel versions
[openwrt/svn-archive/archive.git] / target / linux / au1000 / patches-2.6.35 / 001-mtx1_cmdline.patch
1 --- a/arch/mips/alchemy/mtx-1/init.c
2 +++ b/arch/mips/alchemy/mtx-1/init.c
3 @@ -33,6 +33,7 @@
4
5 #include <asm/bootinfo.h>
6 #include <asm/mach-au1x00/au1000.h>
7 +#include <asm/string.h>
8
9 #include <prom.h>
10
11 @@ -50,7 +51,7 @@ void __init prom_init(void)
12 prom_argv = (char **)fw_arg1;
13 prom_envp = (char **)fw_arg2;
14
15 - prom_init_cmdline();
16 + strcpy(arcs_cmdline, CONFIG_CMDLINE);
17
18 memsize_str = prom_getenv("memsize");
19 if (!memsize_str)