summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-05 06:47:02 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-05 06:47:02 +0000
commit99a7e12f34b3661a0d1354eef83a0eef4df5e34c (patch)
tree3560aca9ca86792f9ab7bd87861ea143a1b3c7a3 /include/asm-mips64
parente73a04659c0b8cdee4dd40e58630e2cf63afb316 (diff)
Merge with Linux 2.3.38.
Diffstat (limited to 'include/asm-mips64')
-rw-r--r--include/asm-mips64/processor.h3
-rw-r--r--include/asm-mips64/unistd.h7
2 files changed, 7 insertions, 3 deletions
diff --git a/include/asm-mips64/processor.h b/include/asm-mips64/processor.h
index 188f9cce0..664fc3dc1 100644
--- a/include/asm-mips64/processor.h
+++ b/include/asm-mips64/processor.h
@@ -1,4 +1,4 @@
-/* $Id: processor.h,v 1.7 2000/01/27 23:45:30 ralf Exp $
+/* $Id: processor.h,v 1.8 2000/01/29 01:42:28 ralf Exp $
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
@@ -236,6 +236,7 @@ unsigned long get_wchan(struct task_struct *p);
#define alloc_task_struct() \
((struct task_struct *) __get_free_pages(GFP_KERNEL, 2))
#define free_task_struct(p) free_pages((unsigned long)(p), 2)
+#define get_task_struct(tsk) atomic_inc(&mem_map[MAP_NR(tsk)].count)
#define init_task (init_task_union.task)
#define init_stack (init_task_union.stack)
diff --git a/include/asm-mips64/unistd.h b/include/asm-mips64/unistd.h
index 6d34a529a..5ab08b0bc 100644
--- a/include/asm-mips64/unistd.h
+++ b/include/asm-mips64/unistd.h
@@ -1,4 +1,4 @@
-/* $Id: unistd.h,v 1.7 2000/01/29 01:42:28 ralf Exp $
+/* $Id: unistd.h,v 1.8 2000/02/04 07:40:53 ralf Exp $
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
@@ -1198,11 +1198,14 @@
#define __NR_mmap2 (__NR_Linux32 + 210)
#define __NR_truncate64 (__NR_Linux32 + 211)
#define __NR_ftruncate64 (__NR_Linux32 + 212)
+#define __NR_stat64 (__NR_Linux32 + 213)
+#define __NR_lstat64 (__NR_Linux32 + 214)
+#define __NR_fstat64 (__NR_Linux32 + 215)
/*
* Offset of the last Linux o32 flavoured syscall
*/
-#define __NR_Linux32_syscalls 212
+#define __NR_Linux32_syscalls 215
/*
* Linux 64-bit syscalls are in the range from 5000 to 5999.