Skip to content

Commit

Permalink
ia64: Enable userfaultfd and membarrier system calls
Browse files Browse the repository at this point in the history
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Luck, Tony authored and Linus Torvalds committed Sep 15, 2015
1 parent 09a77a8 commit 865ca08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ia64/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@



#define NR_syscalls 319 /* length of syscall table */
#define NR_syscalls 321 /* length of syscall table */

/*
* The following defines stop scripts/checksyscalls.sh from complaining about
Expand Down
2 changes: 2 additions & 0 deletions arch/ia64/include/uapi/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,5 +332,7 @@
#define __NR_memfd_create 1340
#define __NR_bpf 1341
#define __NR_execveat 1342
#define __NR_userfaultfd 1343
#define __NR_membarrier 1344

#endif /* _UAPI_ASM_IA64_UNISTD_H */
2 changes: 2 additions & 0 deletions arch/ia64/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -1768,5 +1768,7 @@ sys_call_table:
data8 sys_memfd_create // 1340
data8 sys_bpf
data8 sys_execveat
data8 sys_userfaultfd
data8 sys_membarrier

.org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls

0 comments on commit 865ca08

Please sign in to comment.