Browse Source

[PARISC] add missing syscalls for vmsplice, move_pages, getcpu & epoll_pwait

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Helge Deller 18 năm trước cách đây
mục cha
commit
19dd705f4e
2 tập tin đã thay đổi với 9 bổ sung1 xóa
  1. 4 0
      arch/parisc/kernel/syscall_table.S
  2. 5 1
      include/asm-parisc/unistd.h

+ 4 - 0
arch/parisc/kernel/syscall_table.S

@@ -399,5 +399,9 @@
 	ENTRY_SAME(splice)
 	ENTRY_OURS(sync_file_range)
 	ENTRY_SAME(tee)
+	ENTRY_COMP(vmsplice)
+	ENTRY_COMP(move_pages)		/* 295 */
+	ENTRY_SAME(getcpu)
+	ENTRY_SAME(epoll_pwait)
 	/* Nothing yet */
 

+ 5 - 1
include/asm-parisc/unistd.h

@@ -786,8 +786,12 @@
 #define __NR_splice		(__NR_Linux + 291)
 #define __NR_sync_file_range	(__NR_Linux + 292)
 #define __NR_tee		(__NR_Linux + 293)
+#define __NR_vmsplice		(__NR_Linux + 294)
+#define __NR_move_pages		(__NR_Linux + 295)
+#define __NR_getcpu		(__NR_Linux + 296)
+#define __NR_epoll_pwait	(__NR_Linux + 297)
 
-#define __NR_Linux_syscalls     294
+#define __NR_Linux_syscalls     298
 
 #define HPUX_GATEWAY_ADDR       0xC0000004
 #define LINUX_GATEWAY_ADDR      0x100