mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
[IA64] Enable mlock2 syscall for ia64
New system call added in
commit a8ca5d0ecb
mm: mlock: add new mlock system call
Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
parent
9f9499ae8e
commit
2780188515
3 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -335,5 +335,6 @@
|
|||
#define __NR_userfaultfd 1343
|
||||
#define __NR_membarrier 1344
|
||||
#define __NR_kcmp 1345
|
||||
#define __NR_mlock2 1346
|
||||
|
||||
#endif /* _UAPI_ASM_IA64_UNISTD_H */
|
||||
|
|
|
@ -1771,5 +1771,6 @@ sys_call_table:
|
|||
data8 sys_userfaultfd
|
||||
data8 sys_membarrier
|
||||
data8 sys_kcmp // 1345
|
||||
data8 sys_mlock2
|
||||
|
||||
.org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
|
||||
|
|
Loading…
Reference in a new issue