aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-06-27 18:15:46 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-06-27 18:15:46 +0000
commit023d1d6e36b935aff5db629814392fb3b07c8814 (patch)
treefe974efda18f5e9cec931e4023a0fca183a56468 /target/linux
parentf9ad1636dcb3cdbd8762c69ee639e1a0127bda2b (diff)
downloadupstream-023d1d6e36b935aff5db629814392fb3b07c8814.tar.gz
upstream-023d1d6e36b935aff5db629814392fb3b07c8814.tar.bz2
upstream-023d1d6e36b935aff5db629814392fb3b07c8814.zip
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/linux')
-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;
+ }
+