enable start-stop-daemon by default, i want to use this to clean up a few init script...
[openwrt/staging/wigyori.git] / target / linux / au1000-2.6 / patches / 012-mtx1_cmdline.patch
1 --- linux-2.6.19.2/arch/mips/au1000/mtx-1/init.c.old 2007-04-06 15:01:13.503777992 +0200
2 +++ linux-2.6.19.2/arch/mips/au1000/mtx-1/init.c 2007-04-06 15:01:36.296313000 +0200
3 @@ -39,7 +39,6 @@
4
5 int prom_argc;
6 char **prom_argv, **prom_envp;
7 -extern void __init prom_init_cmdline(void);
8 extern char *prom_getenv(char *envname);
9
10 const char *get_system_type(void)
11 @@ -59,7 +58,7 @@
12 mips_machgroup = MACH_GROUP_ALCHEMY;
13 mips_machtype = MACH_MTX1; /* set the platform # */
14
15 - prom_init_cmdline();
16 + strcpy(arcs_cmdline, CONFIG_CMDLINE);
17
18 memsize_str = prom_getenv("memsize");
19 if (!memsize_str)