[rb532] add 2.6.28 patches and kernel config
[openwrt-10.03/.git] / target / linux / rb532 / patches-2.6.28 / 007-cmdline_hack.patch
diff --git a/target/linux/rb532/patches-2.6.28/007-cmdline_hack.patch b/target/linux/rb532/patches-2.6.28/007-cmdline_hack.patch
new file mode 100644 (file)
index 0000000..5f2ed2f
--- /dev/null
@@ -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.