Skip to content

Commit 7c26701

Browse files
committed
sparc: Wire up io_pgetevents system call.
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent ff5d1a4 commit 7c26701

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

arch/sparc/include/uapi/asm/unistd.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,9 @@
427427
#define __NR_preadv2 358
428428
#define __NR_pwritev2 359
429429
#define __NR_statx 360
430+
#define __NR_io_pgetevents 361
430431

431-
#define NR_syscalls 361
432+
#define NR_syscalls 362
432433

433434
/* Bitmask values returned from kern_features system call. */
434435
#define KERN_FEATURE_MIXED_MODE_STACK 0x00000001

arch/sparc/kernel/systbls_32.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ sys_call_table:
9090
/*345*/ .long sys_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf
9191
/*350*/ .long sys_execveat, sys_membarrier, sys_userfaultfd, sys_bind, sys_listen
9292
/*355*/ .long sys_setsockopt, sys_mlock2, sys_copy_file_range, sys_preadv2, sys_pwritev2
93-
/*360*/ .long sys_statx
93+
/*360*/ .long sys_statx, sys_io_pgetevents

arch/sparc/kernel/systbls_64.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ sys_call_table32:
9191
.word sys_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf
9292
/*350*/ .word sys32_execveat, sys_membarrier, sys_userfaultfd, sys_bind, sys_listen
9393
.word compat_sys_setsockopt, sys_mlock2, sys_copy_file_range, compat_sys_preadv2, compat_sys_pwritev2
94-
/*360*/ .word sys_statx
94+
/*360*/ .word sys_statx, compat_sys_io_pgetevents
9595

9696
#endif /* CONFIG_COMPAT */
9797

@@ -173,4 +173,4 @@ sys_call_table:
173173
.word sys_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf
174174
/*350*/ .word sys64_execveat, sys_membarrier, sys_userfaultfd, sys_bind, sys_listen
175175
.word sys_setsockopt, sys_mlock2, sys_copy_file_range, sys_preadv2, sys_pwritev2
176-
/*360*/ .word sys_statx
176+
/*360*/ .word sys_statx, sys_io_pgetevents

0 commit comments

Comments
 (0)