Browse Source

Blackfin: wire up new process_vm syscalls

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Mike Frysinger 13 years ago
parent
commit
dd47ba1378
2 changed files with 5 additions and 1 deletions
  1. 3 1
      arch/blackfin/include/asm/unistd.h
  2. 2 0
      arch/blackfin/mach-common/entry.S

+ 3 - 1
arch/blackfin/include/asm/unistd.h

@@ -399,8 +399,10 @@
 #define __NR_syncfs		378
 #define __NR_setns		379
 #define __NR_sendmmsg		380
+#define __NR_process_vm_readv	381
+#define __NR_process_vm_writev	382
 
-#define __NR_syscall		381
+#define __NR_syscall		383
 #define NR_syscalls		__NR_syscall
 
 /* Old optional stuff no one actually uses */

+ 2 - 0
arch/blackfin/mach-common/entry.S

@@ -1755,6 +1755,8 @@ ENTRY(_sys_call_table)
 	.long _sys_syncfs
 	.long _sys_setns
 	.long _sys_sendmmsg		/* 380 */
+	.long _sys_process_vm_readv
+	.long _sys_process_vm_writev
 
 	.rept NR_syscalls-(.-_sys_call_table)/4
 	.long _sys_ni_syscall