Skip to content

Commit

Permalink
sh: Wire up kcmp syscall.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Oct 15, 2012
1 parent 850fbcf commit cf75993
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion arch/sh/include/uapi/asm/unistd_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,8 @@
#define __NR_setns 364
#define __NR_process_vm_readv 365
#define __NR_process_vm_writev 366
#define __NR_kcmp 367

#define NR_syscalls 367
#define NR_syscalls 368

#endif /* __ASM_SH_UNISTD_32_H */
3 changes: 2 additions & 1 deletion arch/sh/include/uapi/asm/unistd_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,8 @@
#define __NR_setns 375
#define __NR_process_vm_readv 376
#define __NR_process_vm_writev 377
#define __NR_kcmp 378

#define NR_syscalls 378
#define NR_syscalls 379

#endif /* __ASM_SH_UNISTD_64_H */
1 change: 1 addition & 0 deletions arch/sh/kernel/syscalls_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -384,3 +384,4 @@ ENTRY(sys_call_table)
.long sys_setns
.long sys_process_vm_readv /* 365 */
.long sys_process_vm_writev
.long sys_kcmp
1 change: 1 addition & 0 deletions arch/sh/kernel/syscalls_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -404,3 +404,4 @@ sys_call_table:
.long sys_setns /* 375 */
.long sys_process_vm_readv
.long sys_process_vm_writev
.long sys_kcmp

0 comments on commit cf75993

Please sign in to comment.