011-mips_boot.patch 474 B

123456789101112131415161718192021
  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. + 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. EXPORT(stext) # used for profiling
  19. EXPORT(_stext)