aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532/patches-2.6.27/007-cmdline_hack.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-11-15 23:15:58 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-11-15 23:15:58 +0000
commit901bda1b936ca9bceb6ae9f9ff192a1d871e6393 (patch)
treef84a9aa8e530c389171975c3d6462b307d07a7d1 /target/linux/rb532/patches-2.6.27/007-cmdline_hack.patch
parentac679ab30285b6ad7618efcb72665b7d74695b58 (diff)
downloadupstream-901bda1b936ca9bceb6ae9f9ff192a1d871e6393.tar.gz
upstream-901bda1b936ca9bceb6ae9f9ff192a1d871e6393.tar.bz2
upstream-901bda1b936ca9bceb6ae9f9ff192a1d871e6393.zip
Add 2.6.27 support to rb532, nand is not recognized, needs to be sorted out
SVN-Revision: 13224
Diffstat (limited to 'target/linux/rb532/patches-2.6.27/007-cmdline_hack.patch')
-rw-r--r--target/linux/rb532/patches-2.6.27/007-cmdline_hack.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/rb532/patches-2.6.27/007-cmdline_hack.patch b/target/linux/rb532/patches-2.6.27/007-cmdline_hack.patch
new file mode 100644
index 0000000000..5f2ed2f2f0
--- /dev/null
+++ b/target/linux/rb532/patches-2.6.27/007-cmdline_hack.patch
@@ -0,0 +1,15 @@
+diff -urN linux-2.6.27.5/arch/mips/kernel/head.S linux-2.6.27.5.new/arch/mips/kernel/head.S
+--- linux-2.6.27.5/arch/mips/kernel/head.S 2008-11-15 19:24:03.000000000 +0100
++++ linux-2.6.27.5.new/arch/mips/kernel/head.S 2008-11-15 19:24:55.000000000 +0100
+@@ -123,6 +123,11 @@
+
+ j kernel_entry
+ nop
++
++
++EXPORT(_image_cmdline)
++ .ascii "CMDLINE:"
++
+ #ifndef CONFIG_NO_EXCEPT_FILL
+ /*
+ * Reserved space for exception handlers.