Browse Source

sh: Wire up new syscalls.

This wires up sys_move_pages, sys_getcpu, and sys_epoll_pwait.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 18 years ago
parent
commit
6887d83d6a
2 changed files with 7 additions and 1 deletions
  1. 3 0
      arch/sh/kernel/syscalls.S
  2. 4 1
      include/asm-sh/unistd.h

+ 3 - 0
arch/sh/kernel/syscalls.S

@@ -351,3 +351,6 @@ ENTRY(sys_call_table)
 	.long sys_sync_file_range
 	.long sys_sync_file_range
 	.long sys_tee			/* 315 */
 	.long sys_tee			/* 315 */
 	.long sys_vmsplice
 	.long sys_vmsplice
+	.long sys_move_pages
+	.long sys_getcpu
+	.long sys_epoll_pwait

+ 4 - 1
include/asm-sh/unistd.h

@@ -324,8 +324,11 @@
 #define __NR_sync_file_range	314
 #define __NR_sync_file_range	314
 #define __NR_tee		315
 #define __NR_tee		315
 #define __NR_vmsplice		316
 #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__
 #ifdef __KERNEL__