Skip to content

Commit 19dd705

Browse files
hdellerKyle McMartin
authored andcommitted
[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>
1 parent bd83bcf commit 19dd705

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

arch/parisc/kernel/syscall_table.S

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,5 +399,9 @@
399399
ENTRY_SAME(splice)
400400
ENTRY_OURS(sync_file_range)
401401
ENTRY_SAME(tee)
402+
ENTRY_COMP(vmsplice)
403+
ENTRY_COMP(move_pages) /* 295 */
404+
ENTRY_SAME(getcpu)
405+
ENTRY_SAME(epoll_pwait)
402406
/* Nothing yet */
403407

include/asm-parisc/unistd.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,8 +786,12 @@
786786
#define __NR_splice (__NR_Linux + 291)
787787
#define __NR_sync_file_range (__NR_Linux + 292)
788788
#define __NR_tee (__NR_Linux + 293)
789+
#define __NR_vmsplice (__NR_Linux + 294)
790+
#define __NR_move_pages (__NR_Linux + 295)
791+
#define __NR_getcpu (__NR_Linux + 296)
792+
#define __NR_epoll_pwait (__NR_Linux + 297)
789793

790-
#define __NR_Linux_syscalls 294
794+
#define __NR_Linux_syscalls 298
791795

792796
#define HPUX_GATEWAY_ADDR 0xC0000004
793797
#define LINUX_GATEWAY_ADDR 0x100

0 commit comments

Comments
 (0)