[adm5120] enable switch driver for 2.6.24
[openwrt-10.03/.git] / target / linux / adm5120 / patches-2.6.24 / 140-cmdline_hack.patch
1 Index: linux-2.6.24/arch/mips/kernel/head.S
2 ===================================================================
3 --- linux-2.6.24.orig/arch/mips/kernel/head.S
4 +++ linux-2.6.24/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