X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fau1000%2Fpatches%2F012-mtx1_cmdline.patch;h=2ac4dd5a971a6eec7f0c528ed95a07d996927962;hb=c16e389a884e98695a7d1a2329f31afa1a2c4b9f;hp=8f078428c4e13364ffdb465904820db0fc156183;hpb=17c7b6c3fdc48301e50d22cc6138ede16bd1be24;p=openwrt-10.03%2F.git diff --git a/target/linux/au1000/patches/012-mtx1_cmdline.patch b/target/linux/au1000/patches/012-mtx1_cmdline.patch index 8f078428c..2ac4dd5a9 100644 --- a/target/linux/au1000/patches/012-mtx1_cmdline.patch +++ b/target/linux/au1000/patches/012-mtx1_cmdline.patch @@ -1,16 +1,10 @@ ---- linux-2.6.19.2/arch/mips/au1000/mtx-1/init.c.old 2007-04-06 15:01:13.503777992 +0200 -+++ linux-2.6.19.2/arch/mips/au1000/mtx-1/init.c 2007-04-06 15:01:36.296313000 +0200 -@@ -39,7 +39,6 @@ - - int prom_argc; - char **prom_argv, **prom_envp; --extern void __init prom_init_cmdline(void); - extern char *prom_getenv(char *envname); - - const char *get_system_type(void) -@@ -59,7 +58,7 @@ - mips_machgroup = MACH_GROUP_ALCHEMY; - mips_machtype = MACH_MTX1; /* set the platform # */ +Index: linux-2.6.25.4/arch/mips/au1000/mtx-1/init.c +=================================================================== +--- linux-2.6.25.4.orig/arch/mips/au1000/mtx-1/init.c ++++ linux-2.6.25.4/arch/mips/au1000/mtx-1/init.c +@@ -54,7 +54,7 @@ void __init prom_init(void) + prom_argv = (char **) fw_arg1; + prom_envp = (char **) fw_arg2; - prom_init_cmdline(); + strcpy(arcs_cmdline, CONFIG_CMDLINE);