Skip to content

Commit d1433d5

Browse files
committed
Merge tag 'please-pull-memfd_create' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux
Pull ia64 update from Tony Luck: "Add memfd_create syscall to ia64" * tag 'please-pull-memfd_create' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux: [IA64] Wire up memfd_create() system call
2 parents f8d08a1 + 703e6a6 commit d1433d5

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

arch/ia64/include/asm/unistd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313

14-
#define NR_syscalls 316 /* length of syscall table */
14+
#define NR_syscalls 317 /* length of syscall table */
1515

1616
/*
1717
* The following defines stop scripts/checksyscalls.sh from complaining about

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,5 +329,6 @@
329329
#define __NR_sched_getattr 1337
330330
#define __NR_renameat2 1338
331331
#define __NR_getrandom 1339
332+
#define __NR_memfd_create 1339
332333

333334
#endif /* _UAPI_ASM_IA64_UNISTD_H */

arch/ia64/kernel/entry.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1777,6 +1777,7 @@ sys_call_table:
17771777
data8 sys_sched_getattr
17781778
data8 sys_renameat2
17791779
data8 sys_getrandom
1780+
data8 sys_memfd_create // 1340
17801781

17811782
.org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
17821783
#endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */

0 commit comments

Comments
 (0)