linux-libc-headers-2.6.11.0-mips-nptl.patch 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. diff -urN linux-libc-headers-2.6.11.0/include/asm-mips/inst.h linux-libc-headers-2.6.11.0-nptl/include/asm-mips/inst.h
  2. --- linux-libc-headers-2.6.11.0/include/asm-mips/inst.h 2004-10-31 13:54:20.000000000 -0600
  3. +++ linux-libc-headers-2.6.11.0-nptl/include/asm-mips/inst.h 2005-05-04 23:15:45.890613280 -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. diff -urN linux-libc-headers-2.6.11.0/include/asm-mips/unistd.h linux-libc-headers-2.6.11.0-nptl/include/asm-mips/unistd.h
  13. --- linux-libc-headers-2.6.11.0/include/asm-mips/unistd.h 2005-01-08 08:02:51.000000000 -0600
  14. +++ linux-libc-headers-2.6.11.0-nptl/include/asm-mips/unistd.h 2005-05-04 23:16:48.240229738 -0500
  15. @@ -303,16 +303,17 @@
  16. #define __NR_add_key (__NR_Linux + 280)
  17. #define __NR_request_key (__NR_Linux + 281)
  18. #define __NR_keyctl (__NR_Linux + 282)
  19. +#define __NR_set_thread_area (__NR_Linux + 283)
  20. /*
  21. * Offset of the last Linux o32 flavoured syscall
  22. */
  23. -#define __NR_Linux_syscalls 282
  24. +#define __NR_Linux_syscalls 283
  25. #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
  26. #define __NR_O32_Linux 4000
  27. -#define __NR_O32_Linux_syscalls 282
  28. +#define __NR_O32_Linux_syscalls 283
  29. #if _MIPS_SIM == _MIPS_SIM_ABI64
  30. @@ -562,16 +563,17 @@
  31. #define __NR_add_key (__NR_Linux + 239)
  32. #define __NR_request_key (__NR_Linux + 240)
  33. #define __NR_keyctl (__NR_Linux + 241)
  34. +#define __NR_set_thread_area (__NR_Linux + 242)
  35. /*
  36. * Offset of the last Linux 64-bit flavoured syscall
  37. */
  38. -#define __NR_Linux_syscalls 241
  39. +#define __NR_Linux_syscalls 242
  40. #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
  41. #define __NR_64_Linux 5000
  42. -#define __NR_64_Linux_syscalls 241
  43. +#define __NR_64_Linux_syscalls 242
  44. #if _MIPS_SIM == _MIPS_SIM_NABI32
  45. @@ -825,16 +827,17 @@
  46. #define __NR_add_key (__NR_Linux + 243)
  47. #define __NR_request_key (__NR_Linux + 244)
  48. #define __NR_keyctl (__NR_Linux + 245)
  49. +#define __NR_set_thread_area (__NR_Linux + 246)
  50. /*
  51. * Offset of the last N32 flavoured syscall
  52. */
  53. -#define __NR_Linux_syscalls 245
  54. +#define __NR_Linux_syscalls 246
  55. #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
  56. #define __NR_N32_Linux 6000
  57. -#define __NR_N32_Linux_syscalls 245
  58. +#define __NR_N32_Linux_syscalls 246
  59. #ifndef __ASSEMBLY__