linux-libc-headers-2.6.12.0-mips-nptl.patch 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. diff -urN linux-libc-headers-2.6.12.0/include/asm-mips/inst.h linux-libc-headers-2.6.12.0-mips-nptl/include/asm-mips/inst.h
  2. --- linux-libc-headers-2.6.12.0/include/asm-mips/inst.h 2004-10-31 13:54:20.000000000 -0600
  3. +++ linux-libc-headers-2.6.12.0-mips-nptl/include/asm-mips/inst.h 2005-08-10 21:20:57.000000000 -0500
  4. @@ -28,7 +28,7 @@
  5. sdl_op, sdr_op, swr_op, cache_op,
  6. ll_op, lwc1_op, lwc2_op, pref_op,
  7. lld_op, ldc1_op, ldc2_op, ld_op,
  8. - sc_op, swc1_op, swc2_op, major_3b_op, /* Opcode 0x3b is unused */
  9. + sc_op, swc1_op, swc2_op, rdhwr_op,
  10. scd_op, sdc1_op, sdc2_op, sd_op
  11. };
  12. @@ -62,10 +62,10 @@
  13. spimi_op, unused_rt_op_0x05, unused_rt_op_0x06, unused_rt_op_0x07,
  14. tgei_op, tgeiu_op, tlti_op, tltiu_op,
  15. teqi_op, unused_0x0d_rt_op, tnei_op, unused_0x0f_rt_op,
  16. - bltzal_op, bgezal_op, bltzall_op, bgezall_op
  17. - /*
  18. - * The others (0x14 - 0x1f) are unused.
  19. - */
  20. + bltzal_op, bgezal_op, bltzall_op, bgezall_op,
  21. + rt_op_0x14, rt_op_0x15, rt_op_0x16, rt_op_0x17,
  22. + rt_op_0x18, rt_op_0x19, rt_op_0x1a, rt_op_0x1b,
  23. + bposge32_op, rt_op_0x1d, rt_op_0x1e, rt_op_0x1f
  24. };
  25. /*
  26. diff -urN linux-libc-headers-2.6.12.0/include/asm-mips/unistd.h linux-libc-headers-2.6.12.0-mips-nptl/include/asm-mips/unistd.h
  27. --- linux-libc-headers-2.6.12.0/include/asm-mips/unistd.h 2005-07-05 19:17:29.000000000 -0500
  28. +++ linux-libc-headers-2.6.12.0-mips-nptl/include/asm-mips/unistd.h 2005-08-10 21:22:27.000000000 -0500
  29. @@ -303,16 +303,17 @@
  30. #define __NR_add_key (__NR_Linux + 280)
  31. #define __NR_request_key (__NR_Linux + 281)
  32. #define __NR_keyctl (__NR_Linux + 282)
  33. +#define __NR_set_thread_area (__NR_Linux + 283)
  34. /*
  35. * Offset of the last Linux o32 flavoured syscall
  36. */
  37. -#define __NR_Linux_syscalls 282
  38. +#define __NR_Linux_syscalls 283
  39. #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
  40. #define __NR_O32_Linux 4000
  41. -#define __NR_O32_Linux_syscalls 282
  42. +#define __NR_O32_Linux_syscalls 283
  43. #if _MIPS_SIM == _MIPS_SIM_ABI64
  44. @@ -562,16 +563,17 @@
  45. #define __NR_add_key (__NR_Linux + 239)
  46. #define __NR_request_key (__NR_Linux + 240)
  47. #define __NR_keyctl (__NR_Linux + 241)
  48. +#define __NR_set_thread_area (__NR_Linux + 242)
  49. /*
  50. * Offset of the last Linux 64-bit flavoured syscall
  51. */
  52. -#define __NR_Linux_syscalls 241
  53. +#define __NR_Linux_syscalls 242
  54. #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
  55. #define __NR_64_Linux 5000
  56. -#define __NR_64_Linux_syscalls 241
  57. +#define __NR_64_Linux_syscalls 242
  58. #if _MIPS_SIM == _MIPS_SIM_NABI32
  59. @@ -825,16 +827,17 @@
  60. #define __NR_add_key (__NR_Linux + 243)
  61. #define __NR_request_key (__NR_Linux + 244)
  62. #define __NR_keyctl (__NR_Linux + 245)
  63. +#define __NR_set_thread_area (__NR_Linux + 246)
  64. /*
  65. * Offset of the last N32 flavoured syscall
  66. */
  67. -#define __NR_Linux_syscalls 245
  68. +#define __NR_Linux_syscalls 246
  69. #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
  70. #define __NR_N32_Linux 6000
  71. -#define __NR_N32_Linux_syscalls 245
  72. +#define __NR_N32_Linux_syscalls 246
  73. #ifndef __ASSEMBLY__