浏览代码

sh: Wire up process_vm syscalls.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 13 年之前
父节点
当前提交
149c370f3e
共有 4 个文件被更改,包括 10 次插入2 次删除
  1. 3 1
      arch/sh/include/asm/unistd_32.h
  2. 3 1
      arch/sh/include/asm/unistd_64.h
  3. 2 0
      arch/sh/kernel/syscalls_32.S
  4. 2 0
      arch/sh/kernel/syscalls_64.S

+ 3 - 1
arch/sh/include/asm/unistd_32.h

@@ -375,8 +375,10 @@
 #define __NR_syncfs		362
 #define __NR_sendmmsg		363
 #define __NR_setns		364
+#define __NR_process_vm_readv	365
+#define __NR_process_vm_writev	366
 
-#define NR_syscalls 365
+#define NR_syscalls 367
 
 #ifdef __KERNEL__
 

+ 3 - 1
arch/sh/include/asm/unistd_64.h

@@ -396,10 +396,12 @@
 #define __NR_syncfs		373
 #define __NR_sendmmsg		374
 #define __NR_setns		375
+#define __NR_process_vm_readv	376
+#define __NR_process_vm_writev	377
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 376
+#define NR_syscalls 378
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR

+ 2 - 0
arch/sh/kernel/syscalls_32.S

@@ -382,3 +382,5 @@ ENTRY(sys_call_table)
 	.long sys_syncfs
 	.long sys_sendmmsg
 	.long sys_setns
+	.long sys_process_vm_readv	/* 365 */
+	.long sys_process_vm_writev

+ 2 - 0
arch/sh/kernel/syscalls_64.S

@@ -402,3 +402,5 @@ sys_call_table:
 	.long sys_syncfs
 	.long sys_sendmmsg
 	.long sys_setns			/* 375 */
+	.long sys_process_vm_readv
+	.long sys_process_vm_writev