update wlcompat for new ioctl interface (fixes #1357)
[openwrt/svn-archive/archive.git] / target / linux / adm5120-2.6 / patches / 140-cmdline_hack.patch
1 Index: linux-2.6.22-rc6/arch/mips/kernel/head.S
2 ===================================================================
3 --- linux-2.6.22-rc6.orig/arch/mips/kernel/head.S
4 +++ linux-2.6.22-rc6/arch/mips/kernel/head.S
5 @@ -129,14 +129,19 @@
6 #endif
7 .endm
8
9 -
10 j kernel_entry
11 nop
12 -
13 + nop
14 +
15 /*
16 * Reserved space for exception handlers.
17 * Necessary for machines which link their kernels at KSEG0.
18 + * Use as temporary storage for the kernel command line, so that it
19 + * can be updated easily without having to relink the kernel.
20 */
21 +
22 +EXPORT(_image_cmdline)
23 + .ascii "CMDLINE:"
24 .align 10
25
26 EXPORT(stext) # used for profiling