aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-01-29 05:32:39 -0500
committerBob Liu <lliubbo@gmail.com>2012-03-20 23:00:08 -0400
commitdd47ba13786f22893d08747c152a2cf1435d0d8c (patch)
treeafe2c15871df870b54590e251691164791eb6aa5 /arch/blackfin
parent0db07a905628d7f2952691df40853ffd95ceb097 (diff)
Blackfin: wire up new process_vm syscalls
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/include/asm/unistd.h4
-rw-r--r--arch/blackfin/mach-common/entry.S2
2 files changed, 5 insertions, 1 deletions
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 @@
399#define __NR_syncfs 378 399#define __NR_syncfs 378
400#define __NR_setns 379 400#define __NR_setns 379
401#define __NR_sendmmsg 380 401#define __NR_sendmmsg 380
402#define __NR_process_vm_readv 381
403#define __NR_process_vm_writev 382
402 404
403#define __NR_syscall 381 405#define __NR_syscall 383
404#define NR_syscalls __NR_syscall 406#define NR_syscalls __NR_syscall
405 407
406/* Old optional stuff no one actually uses */ 408/* 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)
1755 .long _sys_syncfs 1755 .long _sys_syncfs
1756 .long _sys_setns 1756 .long _sys_setns
1757 .long _sys_sendmmsg /* 380 */ 1757 .long _sys_sendmmsg /* 380 */
1758 .long _sys_process_vm_readv
1759 .long _sys_process_vm_writev
1758 1760
1759 .rept NR_syscalls-(.-_sys_call_table)/4 1761 .rept NR_syscalls-(.-_sys_call_table)/4
1760 .long _sys_ni_syscall 1762 .long _sys_ni_syscall