unset INITRAMFS_SOURCE if appropriate
[buildroot.git] / toolchain / kernel-headers / linux-libc-headers-2.6.12.0-mips-nptl.patch
blob5f7167b62b3968674ea9022f68083a3e921f64c6
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
13 @@ -62,10 +62,10 @@
14 spimi_op, unused_rt_op_0x05, unused_rt_op_0x06, unused_rt_op_0x07,
15 tgei_op, tgeiu_op, tlti_op, tltiu_op,
16 teqi_op, unused_0x0d_rt_op, tnei_op, unused_0x0f_rt_op,
17 - bltzal_op, bgezal_op, bltzall_op, bgezall_op
18 - /*
19 - * The others (0x14 - 0x1f) are unused.
20 - */
21 + bltzal_op, bgezal_op, bltzall_op, bgezall_op,
22 + rt_op_0x14, rt_op_0x15, rt_op_0x16, rt_op_0x17,
23 + rt_op_0x18, rt_op_0x19, rt_op_0x1a, rt_op_0x1b,
24 + bposge32_op, rt_op_0x1d, rt_op_0x1e, rt_op_0x1f
28 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
29 --- linux-libc-headers-2.6.12.0/include/asm-mips/unistd.h 2005-07-05 19:17:29.000000000 -0500
30 +++ linux-libc-headers-2.6.12.0-mips-nptl/include/asm-mips/unistd.h 2005-08-10 21:22:27.000000000 -0500
31 @@ -303,16 +303,17 @@
32 #define __NR_add_key (__NR_Linux + 280)
33 #define __NR_request_key (__NR_Linux + 281)
34 #define __NR_keyctl (__NR_Linux + 282)
35 +#define __NR_set_thread_area (__NR_Linux + 283)
38 * Offset of the last Linux o32 flavoured syscall
40 -#define __NR_Linux_syscalls 282
41 +#define __NR_Linux_syscalls 283
43 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
45 #define __NR_O32_Linux 4000
46 -#define __NR_O32_Linux_syscalls 282
47 +#define __NR_O32_Linux_syscalls 283
49 #if _MIPS_SIM == _MIPS_SIM_ABI64
51 @@ -562,16 +563,17 @@
52 #define __NR_add_key (__NR_Linux + 239)
53 #define __NR_request_key (__NR_Linux + 240)
54 #define __NR_keyctl (__NR_Linux + 241)
55 +#define __NR_set_thread_area (__NR_Linux + 242)
58 * Offset of the last Linux 64-bit flavoured syscall
60 -#define __NR_Linux_syscalls 241
61 +#define __NR_Linux_syscalls 242
63 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
65 #define __NR_64_Linux 5000
66 -#define __NR_64_Linux_syscalls 241
67 +#define __NR_64_Linux_syscalls 242
69 #if _MIPS_SIM == _MIPS_SIM_NABI32
71 @@ -825,16 +827,17 @@
72 #define __NR_add_key (__NR_Linux + 243)
73 #define __NR_request_key (__NR_Linux + 244)
74 #define __NR_keyctl (__NR_Linux + 245)
75 +#define __NR_set_thread_area (__NR_Linux + 246)
78 * Offset of the last N32 flavoured syscall
80 -#define __NR_Linux_syscalls 245
81 +#define __NR_Linux_syscalls 246
83 #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
85 #define __NR_N32_Linux 6000
86 -#define __NR_N32_Linux_syscalls 245
87 +#define __NR_N32_Linux_syscalls 246
89 #ifndef __ASSEMBLY__