backport acx100 2.6.24 fixes from SVN
[openwrt/svn-archive/archive.git] / target / linux / adm5120 / patches-2.6.23 / 140-cmdline_hack.patch
1 Index: linux-2.6.23.14/arch/mips/kernel/head.S
2 ===================================================================
3 --- linux-2.6.23.14.orig/arch/mips/kernel/head.S
4 +++ linux-2.6.23.14/arch/mips/kernel/head.S
5 @@ -136,7 +136,12 @@
6 /*
7 * Reserved space for exception handlers.
8 * Necessary for machines which link their kernels at KSEG0.
9 + * Use as temporary storage for the kernel command line, so that it
10 + * can be updated easily without having to relink the kernel.
11 */
12 +
13 +EXPORT(_image_cmdline)
14 + .ascii "CMDLINE:"
15 .fill 0x400
16 #endif
17