Blackfin: wire up new process_vm syscalls
authorMike Frysinger <vapier@gentoo.org>
Sun, 29 Jan 2012 10:32:39 +0000 (05:32 -0500)
committerBob Liu <lliubbo@gmail.com>
Wed, 21 Mar 2012 03:00:08 +0000 (11:00 +0800)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/include/asm/unistd.h
arch/blackfin/mach-common/entry.S

index 0ccba60b9ccfde4ec58f1efab7be1fbddee2a24c..75ec9df5318b57ee81db41b297f0ce452c13a94d 100644 (file)
 #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 */
index e4137297b790067b7a803d0c8dabd48dd808700c..6d5102c710474a79c024b4d4dec8c862dfdd731c 100644 (file)
@@ -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