aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-04-13 13:43:59 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:31:06 -0400
commit3c37026d43c47bec4710cbda286f4a17f416f5e6 (patch)
tree8bf206dc3ee4337ac9839c0e9e26ec4513996670 /include
parent38551576a35f1b48b6b359470d6e876c5b671ab6 (diff)
NPTL, round one.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips/inst.h2
-rw-r--r--include/asm-mips/thread_info.h1
-rw-r--r--include/asm-mips/unistd.h15
3 files changed, 11 insertions, 7 deletions
diff --git a/include/asm-mips/inst.h b/include/asm-mips/inst.h
index 6ad517241768..df912c2b381f 100644
--- a/include/asm-mips/inst.h
+++ b/include/asm-mips/inst.h
@@ -28,7 +28,7 @@ enum major_op {
28 sdl_op, sdr_op, swr_op, cache_op, 28 sdl_op, sdr_op, swr_op, cache_op,
29 ll_op, lwc1_op, lwc2_op, pref_op, 29 ll_op, lwc1_op, lwc2_op, pref_op,
30 lld_op, ldc1_op, ldc2_op, ld_op, 30 lld_op, ldc1_op, ldc2_op, ld_op,
31 sc_op, swc1_op, swc2_op, major_3b_op, /* Opcode 0x3b is unused */ 31 sc_op, swc1_op, swc2_op, rdhwr_op,
32 scd_op, sdc1_op, sdc2_op, sd_op 32 scd_op, sdc1_op, sdc2_op, sd_op
33}; 33};
34 34
diff --git a/include/asm-mips/thread_info.h b/include/asm-mips/thread_info.h
index 66a0c2ae7d65..e6c24472e03f 100644
--- a/include/asm-mips/thread_info.h
+++ b/include/asm-mips/thread_info.h
@@ -26,6 +26,7 @@ struct thread_info {
26 struct task_struct *task; /* main task structure */ 26 struct task_struct *task; /* main task structure */
27 struct exec_domain *exec_domain; /* execution domain */ 27 struct exec_domain *exec_domain; /* execution domain */
28 unsigned long flags; /* low level flags */ 28 unsigned long flags; /* low level flags */
29 unsigned long tp_value; /* thread pointer */
29 __u32 cpu; /* current CPU */ 30 __u32 cpu; /* current CPU */
30 int preempt_count; /* 0 => preemptable, <0 => BUG */ 31 int preempt_count; /* 0 => preemptable, <0 => BUG */
31 32
diff --git a/include/asm-mips/unistd.h b/include/asm-mips/unistd.h
index ad4d48056307..6be69c3a691f 100644
--- a/include/asm-mips/unistd.h
+++ b/include/asm-mips/unistd.h
@@ -303,16 +303,17 @@
303#define __NR_add_key (__NR_Linux + 280) 303#define __NR_add_key (__NR_Linux + 280)
304#define __NR_request_key (__NR_Linux + 281) 304#define __NR_request_key (__NR_Linux + 281)
305#define __NR_keyctl (__NR_Linux + 282) 305#define __NR_keyctl (__NR_Linux + 282)
306#define __NR_set_thread_area (__NR_Linux + 283)
306 307
307/* 308/*
308 * Offset of the last Linux o32 flavoured syscall 309 * Offset of the last Linux o32 flavoured syscall
309 */ 310 */
310#define __NR_Linux_syscalls 282 311#define __NR_Linux_syscalls 283
311 312
312#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ 313#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
313 314
314#define __NR_O32_Linux 4000 315#define __NR_O32_Linux 4000
315#define __NR_O32_Linux_syscalls 282 316#define __NR_O32_Linux_syscalls 283
316 317
317#if _MIPS_SIM == _MIPS_SIM_ABI64 318#if _MIPS_SIM == _MIPS_SIM_ABI64
318 319
@@ -562,16 +563,17 @@
562#define __NR_add_key (__NR_Linux + 239) 563#define __NR_add_key (__NR_Linux + 239)
563#define __NR_request_key (__NR_Linux + 240) 564#define __NR_request_key (__NR_Linux + 240)
564#define __NR_keyctl (__NR_Linux + 241) 565#define __NR_keyctl (__NR_Linux + 241)
566#define __NR_set_thread_area (__NR_Linux + 242)
565 567
566/* 568/*
567 * Offset of the last Linux 64-bit flavoured syscall 569 * Offset of the last Linux 64-bit flavoured syscall
568 */ 570 */
569#define __NR_Linux_syscalls 241 571#define __NR_Linux_syscalls 242
570 572
571#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ 573#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
572 574
573#define __NR_64_Linux 5000 575#define __NR_64_Linux 5000
574#define __NR_64_Linux_syscalls 241 576#define __NR_64_Linux_syscalls 242
575 577
576#if _MIPS_SIM == _MIPS_SIM_NABI32 578#if _MIPS_SIM == _MIPS_SIM_NABI32
577 579
@@ -825,16 +827,17 @@
825#define __NR_add_key (__NR_Linux + 243) 827#define __NR_add_key (__NR_Linux + 243)
826#define __NR_request_key (__NR_Linux + 244) 828#define __NR_request_key (__NR_Linux + 244)
827#define __NR_keyctl (__NR_Linux + 245) 829#define __NR_keyctl (__NR_Linux + 245)
830#define __NR_set_thread_area (__NR_Linux + 246)
828 831
829/* 832/*
830 * Offset of the last N32 flavoured syscall 833 * Offset of the last N32 flavoured syscall
831 */ 834 */
832#define __NR_Linux_syscalls 245 835#define __NR_Linux_syscalls 246
833 836
834#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ 837#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
835 838
836#define __NR_N32_Linux 6000 839#define __NR_N32_Linux 6000
837#define __NR_N32_Linux_syscalls 245 840#define __NR_N32_Linux_syscalls 246
838 841
839#ifndef __ASSEMBLY__ 842#ifndef __ASSEMBLY__
840 843