浏览代码

parisc: add prlimit64 syscall

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Kyle McMartin 14 年之前
父节点
当前提交
caf96194c0
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 1
      arch/parisc/include/asm/unistd.h
  2. 1 0
      arch/parisc/kernel/syscall_table.S

+ 2 - 1
arch/parisc/include/asm/unistd.h

@@ -813,8 +813,9 @@
 #define __NR_perf_event_open	(__NR_Linux + 318)
 #define __NR_perf_event_open	(__NR_Linux + 318)
 #define __NR_recvmmsg		(__NR_Linux + 319)
 #define __NR_recvmmsg		(__NR_Linux + 319)
 #define __NR_accept4		(__NR_Linux + 320)
 #define __NR_accept4		(__NR_Linux + 320)
+#define __NR_prlimit64		(__NR_Linux + 321)
 
 
-#define __NR_Linux_syscalls	(__NR_accept4 + 1)
+#define __NR_Linux_syscalls	(__NR_prlimit64 + 1)
 
 
 
 
 #define __IGNORE_select		/* newselect */
 #define __IGNORE_select		/* newselect */

+ 1 - 0
arch/parisc/kernel/syscall_table.S

@@ -419,6 +419,7 @@
 	ENTRY_SAME(perf_event_open)
 	ENTRY_SAME(perf_event_open)
 	ENTRY_COMP(recvmmsg)
 	ENTRY_COMP(recvmmsg)
 	ENTRY_SAME(accept4)		/* 320 */
 	ENTRY_SAME(accept4)		/* 320 */
+	ENTRY_SAME(prlimit64)
 
 
 	/* Nothing yet */
 	/* Nothing yet */