Skip to content

Commit

Permalink
sh: Wire up process_vm syscalls.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
pmundt committed Nov 11, 2011
1 parent 78b425f commit 149c370
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion arch/sh/include/asm/unistd_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__

Expand Down
4 changes: 3 additions & 1 deletion arch/sh/include/asm/unistd_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions arch/sh/kernel/syscalls_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 2 additions & 0 deletions arch/sh/kernel/syscalls_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 149c370

Please sign in to comment.