ab0d99be8ae3da5520b810d77c7319a538ecaf0b
[librecmc/librecmc.git] / target / linux / adm5120 / patches-2.6.25 / 140-cmdline_hack.patch
1 Index: linux-2.6.25/arch/mips/kernel/head.S
2 ===================================================================
3 --- linux-2.6.25.orig/arch/mips/kernel/head.S
4 +++ linux-2.6.25/arch/mips/kernel/head.S
5 @@ -126,7 +126,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