diff options
author | Tony Luck <tony.luck@intel.com> | 2015-12-14 13:30:02 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2015-12-14 13:30:02 -0500 |
commit | 27801885151d3c187719f082a0ef54e05b9c9a16 (patch) | |
tree | c83bb5e53a1c7c71b9d5ad42c9912790c1516b4d | |
parent | 9f9499ae8e6415cefc4fe0a96ad0e27864353c89 (diff) |
[IA64] Enable mlock2 syscall for ia64
New system call added in
commit a8ca5d0ecbdde5cc3d7accacbd69968b0c98764e
mm: mlock: add new mlock system call
Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r-- | arch/ia64/include/asm/unistd.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/uapi/asm/unistd.h | 1 | ||||
-rw-r--r-- | arch/ia64/kernel/entry.S | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/arch/ia64/include/asm/unistd.h b/arch/ia64/include/asm/unistd.h index db73390568c8..74c132d901bd 100644 --- a/arch/ia64/include/asm/unistd.h +++ b/arch/ia64/include/asm/unistd.h | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | 12 | ||
13 | 13 | ||
14 | #define NR_syscalls 322 /* length of syscall table */ | 14 | #define NR_syscalls 323 /* length of syscall table */ |
15 | 15 | ||
16 | /* | 16 | /* |
17 | * The following defines stop scripts/checksyscalls.sh from complaining about | 17 | * The following defines stop scripts/checksyscalls.sh from complaining about |
diff --git a/arch/ia64/include/uapi/asm/unistd.h b/arch/ia64/include/uapi/asm/unistd.h index 9038726e7d26..762edce7572e 100644 --- a/arch/ia64/include/uapi/asm/unistd.h +++ b/arch/ia64/include/uapi/asm/unistd.h | |||
@@ -335,5 +335,6 @@ | |||
335 | #define __NR_userfaultfd 1343 | 335 | #define __NR_userfaultfd 1343 |
336 | #define __NR_membarrier 1344 | 336 | #define __NR_membarrier 1344 |
337 | #define __NR_kcmp 1345 | 337 | #define __NR_kcmp 1345 |
338 | #define __NR_mlock2 1346 | ||
338 | 339 | ||
339 | #endif /* _UAPI_ASM_IA64_UNISTD_H */ | 340 | #endif /* _UAPI_ASM_IA64_UNISTD_H */ |
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S index dcd97f84d065..534a74acb849 100644 --- a/arch/ia64/kernel/entry.S +++ b/arch/ia64/kernel/entry.S | |||
@@ -1771,5 +1771,6 @@ sys_call_table: | |||
1771 | data8 sys_userfaultfd | 1771 | data8 sys_userfaultfd |
1772 | data8 sys_membarrier | 1772 | data8 sys_membarrier |
1773 | data8 sys_kcmp // 1345 | 1773 | data8 sys_kcmp // 1345 |
1774 | data8 sys_mlock2 | ||
1774 | 1775 | ||
1775 | .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls | 1776 | .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls |