[kernel] fix yaffs build failure on 2.6.28.2 (thanks to Alexandros C. Couloumbis...
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.21 / 011-mips_boot.patch
1 Index: linux-2.6.21.7/arch/mips/kernel/head.S
2 ===================================================================
3 --- linux-2.6.21.7.orig/arch/mips/kernel/head.S
4 +++ linux-2.6.21.7/arch/mips/kernel/head.S
5 @@ -129,11 +129,15 @@
6  #endif
7         .endm
8  
9 +
10 +       j kernel_entry
11 +       nop
12 +
13         /*
14          * Reserved space for exception handlers.
15          * Necessary for machines which link their kernels at KSEG0.
16          */
17 -       .fill   0x400
18 +       .align 10
19  
20  EXPORT(stext)                                  # used for profiling
21  EXPORT(_stext)