diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-05-05 04:26:07 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-05-05 04:26:07 +0000 |
commit | 42f7febfb8acfacc5cd613f57b950e1708a6084d (patch) | |
tree | 77839e7702cb7c0cfbd8773878022e2d21580727 /toolchain | |
parent | df2c1a437ad656ec9596026b758fc0915504ff8e (diff) | |
download | buildroot-novena-42f7febfb8acfacc5cd613f57b950e1708a6084d.tar.gz buildroot-novena-42f7febfb8acfacc5cd613f57b950e1708a6084d.zip |
Patch from 2.6.12-rc3 Linux/MIPS tree to add in NPTL changes for MIPS. Hopefully 2.6.12 will release soon so we can get the updates.
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/kernel-headers/linux-libc-headers-2.6.11.0-mips-nptl.patch | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/linux-libc-headers-2.6.11.0-mips-nptl.patch b/toolchain/kernel-headers/linux-libc-headers-2.6.11.0-mips-nptl.patch new file mode 100644 index 000000000..72571b05e --- /dev/null +++ b/toolchain/kernel-headers/linux-libc-headers-2.6.11.0-mips-nptl.patch @@ -0,0 +1,75 @@ +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 +--- linux-libc-headers-2.6.11.0/include/asm-mips/inst.h 2004-10-31 13:54:20.000000000 -0600 ++++ linux-libc-headers-2.6.11.0-nptl/include/asm-mips/inst.h 2005-05-04 23:15:45.890613280 -0500 +@@ -28,7 +28,7 @@ + sdl_op, sdr_op, swr_op, cache_op, + ll_op, lwc1_op, lwc2_op, pref_op, + lld_op, ldc1_op, ldc2_op, ld_op, +- sc_op, swc1_op, swc2_op, major_3b_op, /* Opcode 0x3b is unused */ ++ sc_op, swc1_op, swc2_op, rdhwr_op, + scd_op, sdc1_op, sdc2_op, sd_op + }; + +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 +--- linux-libc-headers-2.6.11.0/include/asm-mips/unistd.h 2005-01-08 08:02:51.000000000 -0600 ++++ linux-libc-headers-2.6.11.0-nptl/include/asm-mips/unistd.h 2005-05-04 23:16:48.240229738 -0500 +@@ -303,16 +303,17 @@ + #define __NR_add_key (__NR_Linux + 280) + #define __NR_request_key (__NR_Linux + 281) + #define __NR_keyctl (__NR_Linux + 282) ++#define __NR_set_thread_area (__NR_Linux + 283) + + /* + * Offset of the last Linux o32 flavoured syscall + */ +-#define __NR_Linux_syscalls 282 ++#define __NR_Linux_syscalls 283 + + #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ + + #define __NR_O32_Linux 4000 +-#define __NR_O32_Linux_syscalls 282 ++#define __NR_O32_Linux_syscalls 283 + + #if _MIPS_SIM == _MIPS_SIM_ABI64 + +@@ -562,16 +563,17 @@ + #define __NR_add_key (__NR_Linux + 239) + #define __NR_request_key (__NR_Linux + 240) + #define __NR_keyctl (__NR_Linux + 241) ++#define __NR_set_thread_area (__NR_Linux + 242) + + /* + * Offset of the last Linux 64-bit flavoured syscall + */ +-#define __NR_Linux_syscalls 241 ++#define __NR_Linux_syscalls 242 + + #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ + + #define __NR_64_Linux 5000 +-#define __NR_64_Linux_syscalls 241 ++#define __NR_64_Linux_syscalls 242 + + #if _MIPS_SIM == _MIPS_SIM_NABI32 + +@@ -825,16 +827,17 @@ + #define __NR_add_key (__NR_Linux + 243) + #define __NR_request_key (__NR_Linux + 244) + #define __NR_keyctl (__NR_Linux + 245) ++#define __NR_set_thread_area (__NR_Linux + 246) + + /* + * Offset of the last N32 flavoured syscall + */ +-#define __NR_Linux_syscalls 245 ++#define __NR_Linux_syscalls 246 + + #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ + + #define __NR_N32_Linux 6000 +-#define __NR_N32_Linux_syscalls 245 ++#define __NR_N32_Linux_syscalls 246 + + #ifndef __ASSEMBLY__ + |