kernel: add generic image_cmdline hack to MIPS targets
[openwrt/openwrt.git] / target / linux / adm5120 / patches-2.6.30 / 140-cmdline_hack.patch
1 --- a/arch/mips/kernel/head.S
2 +++ b/arch/mips/kernel/head.S
3 @@ -127,7 +127,12 @@
4 /*
5 * Reserved space for exception handlers.
6 * Necessary for machines which link their kernels at KSEG0.
7 + * Use as temporary storage for the kernel command line, so that it
8 + * can be updated easily without having to relink the kernel.
9 */
10 +
11 +EXPORT(_image_cmdline)
12 + .ascii "CMDLINE:"
13 .fill 0x400
14 #endif
15