[adm5120] fix a copy-paste error
[openwrt.git] / target / linux / adm5120 / patches-2.6.22 / 140-cmdline_hack.patch
1 Index: linux-2.6.22.1/arch/mips/kernel/head.S
2 ===================================================================
3 --- linux-2.6.22.1.orig/arch/mips/kernel/head.S
4 +++ linux-2.6.22.1/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
This page took 0.046959 seconds and 5 git commands to generate.