From: Mike Frysinger Date: Sun, 29 Jan 2012 10:32:39 +0000 (-0500) Subject: Blackfin: wire up new process_vm syscalls X-Git-Tag: MMI-PSA29.97-13-9~17216^2~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dd47ba13786f22893d08747c152a2cf1435d0d8c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Blackfin: wire up new process_vm syscalls Signed-off-by: Mike Frysinger Signed-off-by: Bob Liu --- diff --git a/arch/blackfin/include/asm/unistd.h b/arch/blackfin/include/asm/unistd.h index 0ccba60b9ccf..75ec9df5318b 100644 --- a/arch/blackfin/include/asm/unistd.h +++ b/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 */ diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S index e4137297b790..6d5102c71047 100644 --- a/arch/blackfin/mach-common/entry.S +++ b/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