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
commit6854bd76a0c4a0ce9297ae43cca04b6b4c258af2 (patch)
tree873fdd8f5aa73c58191e88b2930a61ae0a44b213 /target/linux/rb532/patches-2.6.27/007-cmdline_hack.patch
parent9ec67547ff137a5f7ca7418c87c222a85dc0d57d (diff)
downloadmaster-187ad058-6854bd76a0c4a0ce9297ae43cca04b6b4c258af2.tar.gz
master-187ad058-6854bd76a0c4a0ce9297ae43cca04b6b4c258af2.tar.bz2
master-187ad058-6854bd76a0c4a0ce9297ae43cca04b6b4c258af2.zip
Add 2.6.27 support to rb532, nand is not recognized, needs to be sorted out
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13224 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.