Skip to content

Commit

Permalink
sh: Wire up new syscalls.
Browse files Browse the repository at this point in the history
This wires up sys_move_pages, sys_getcpu, and sys_epoll_pwait.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Oct 31, 2006
1 parent ae99a78 commit 6887d83
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions arch/sh/kernel/syscalls.S
Original file line number Diff line number Diff line change
Expand Up @@ -351,3 +351,6 @@ ENTRY(sys_call_table)
.long sys_sync_file_range
.long sys_tee /* 315 */
.long sys_vmsplice
.long sys_move_pages
.long sys_getcpu
.long sys_epoll_pwait
5 changes: 4 additions & 1 deletion include/asm-sh/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,11 @@
#define __NR_sync_file_range 314
#define __NR_tee 315
#define __NR_vmsplice 316
#define __NR_move_pages 317
#define __NR_getcpu 318
#define __NR_epoll_pwait 319

#define NR_syscalls 317
#define NR_syscalls 320

#ifdef __KERNEL__

Expand Down

0 comments on commit 6887d83

Please sign in to comment.