summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-27 18:15:46 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-27 18:15:46 +0000
commite2a5cd999c401b7c6ef69db6df118eece9fecf3a (patch)
treefe974efda18f5e9cec931e4023a0fca183a56468 /target
parent672f1e94076791b4d55dbd92d329058f61fb0cd6 (diff)
ignore the bootloader's commandline on orion
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11591 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/orion/patches/010-ignore_atag_cmdline.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/orion/patches/010-ignore_atag_cmdline.patch b/target/linux/orion/patches/010-ignore_atag_cmdline.patch
new file mode 100644
index 0000000000..45975fe38f
--- /dev/null
+++ b/target/linux/orion/patches/010-ignore_atag_cmdline.patch
@@ -0,0 +1,11 @@
+--- a/arch/arm/kernel/setup.c
++++ b/arch/arm/kernel/setup.c
+@@ -719,7 +719,7 @@
+
+ static int __init parse_tag_cmdline(const struct tag *tag)
+ {
+- strlcpy(default_command_line, tag->u.cmdline.cmdline, COMMAND_LINE_SIZE);
++// strlcpy(default_command_line, tag->u.cmdline.cmdline, COMMAND_LINE_SIZE);
+ return 0;
+ }
+