Commit 27801885 authored by Tony Luck's avatar Tony Luck

[IA64] Enable mlock2 syscall for ia64

New system call added in
  commit a8ca5d0e
  mm: mlock: add new mlock system call
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 9f9499ae
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#define NR_syscalls 322 /* length of syscall table */ #define NR_syscalls 323 /* length of syscall table */
/* /*
* The following defines stop scripts/checksyscalls.sh from complaining about * The following defines stop scripts/checksyscalls.sh from complaining about
......
...@@ -335,5 +335,6 @@ ...@@ -335,5 +335,6 @@
#define __NR_userfaultfd 1343 #define __NR_userfaultfd 1343
#define __NR_membarrier 1344 #define __NR_membarrier 1344
#define __NR_kcmp 1345 #define __NR_kcmp 1345
#define __NR_mlock2 1346
#endif /* _UAPI_ASM_IA64_UNISTD_H */ #endif /* _UAPI_ASM_IA64_UNISTD_H */
...@@ -1771,5 +1771,6 @@ sys_call_table: ...@@ -1771,5 +1771,6 @@ sys_call_table:
data8 sys_userfaultfd data8 sys_userfaultfd
data8 sys_membarrier data8 sys_membarrier
data8 sys_kcmp // 1345 data8 sys_kcmp // 1345
data8 sys_mlock2
.org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment