prepare for the transition to linux 2.6.22 - make it possible to override the kernel...
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.22 / 011-mips_boot.patch
1 diff -urN linux-2.6.21.1.old/arch/mips/kernel/head.S linux-2.6.21.1.dev/arch/mips/kernel/head.S
2 --- linux-2.6.21.1.old/arch/mips/kernel/head.S  2007-04-27 23:49:26.000000000 +0200
3 +++ linux-2.6.21.1.dev/arch/mips/kernel/head.S  2007-05-26 19:46:49.061952736 +0200
4 @@ -129,11 +129,15 @@
5  #endif
6         .endm
7  
8 +
9 +       j kernel_entry
10 +       nop
11 +
12         /*
13          * Reserved space for exception handlers.
14          * Necessary for machines which link their kernels at KSEG0.
15          */
16 -       .fill   0x400
17 +       .align 10
18  
19  EXPORT(stext)                                  # used for profiling
20  EXPORT(_stext)