summaryrefslogtreecommitdiffstats
path: root/target/linux/rb532-2.6/patches/140-cmdline_hack.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-19 13:14:38 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-19 13:14:38 +0000
commit0771c0af36e37a8012a6371f77dfc753152e8a46 (patch)
treef515dda07e45a4b651f6939637e40b180954eae1 /target/linux/rb532-2.6/patches/140-cmdline_hack.patch
parente6eda13dd57a5e7b685639bad110f00987f05dd9 (diff)
convert rb532 to the new structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7273 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532-2.6/patches/140-cmdline_hack.patch')
-rw-r--r--target/linux/rb532-2.6/patches/140-cmdline_hack.patch22
1 files changed, 1 insertions, 21 deletions
diff --git a/target/linux/rb532-2.6/patches/140-cmdline_hack.patch b/target/linux/rb532-2.6/patches/140-cmdline_hack.patch
index 01daf3132..50c299a65 100644
--- a/target/linux/rb532-2.6/patches/140-cmdline_hack.patch
+++ b/target/linux/rb532-2.6/patches/140-cmdline_hack.patch
@@ -25,24 +25,4 @@ diff -ur linux.old/arch/mips/kernel/head.S linux.dev/arch/mips/kernel/head.S
EXPORT(stext) # used for profiling
EXPORT(_stext)
-diff -ur linux.old/arch/mips/rb500/prom.c linux.dev/arch/mips/rb500/prom.c
---- linux.old/arch/mips/rb500/prom.c 2006-12-06 17:30:27.000000000 +0100
-+++ linux.dev/arch/mips/rb500/prom.c 2006-12-06 17:41:40.000000000 +0100
-@@ -128,6 +128,7 @@
- /* FIXME: STUB */
- }
-
-+extern char _image_cmdline;
- void __init prom_setup_cmdline(void){
- char cmd_line[CL_SIZE];
- char *cp;
-@@ -163,6 +164,9 @@
- strcpy(cp,prom_argv[i]);
- cp+=strlen(prom_argv[i]);
- }
-+ *(cp++) = ' ';
-+ strcpy(cp,(&_image_cmdline + 8));
-+ cp += strlen(&_image_cmdline);
-
- i=strlen(arcs_cmdline);
- if (i>0){
+