diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-05-19 13:14:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-05-19 13:14:38 +0000 |
commit | 5938ba98444fb811bb1201c7a461db38d8d1abf3 (patch) | |
tree | a1e458b9a871754cf7f1c6b0a91607c39b6c369b /target/linux/rb532-2.6/patches/140-cmdline_hack.patch | |
parent | 61338e5fe84fe57b26e570b595ac71d0f95f3213 (diff) | |
download | upstream-5938ba98444fb811bb1201c7a461db38d8d1abf3.tar.gz upstream-5938ba98444fb811bb1201c7a461db38d8d1abf3.tar.bz2 upstream-5938ba98444fb811bb1201c7a461db38d8d1abf3.zip |
convert rb532 to the new structure
SVN-Revision: 7273
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.patch | 22 |
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 01daf3132c..50c299a657 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){ + |