[IA64] Enable mlock2 syscall for ia64
authorTony Luck <tony.luck@intel.com>
Mon, 14 Dec 2015 18:30:02 +0000 (10:30 -0800)
committerTony Luck <tony.luck@intel.com>
Mon, 14 Dec 2015 18:30:02 +0000 (10:30 -0800)
New system call added in
  commit a8ca5d0ecbdde5cc3d7accacbd69968b0c98764e
  mm: mlock: add new mlock system call

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/unistd.h
arch/ia64/include/uapi/asm/unistd.h
arch/ia64/kernel/entry.S

index db73390..74c132d 100644 (file)
@@ -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
index 9038726..762edce 100644 (file)
 #define __NR_userfaultfd               1343
 #define __NR_membarrier                        1344
 #define __NR_kcmp                      1345
+#define __NR_mlock2                    1346
 
 #endif /* _UAPI_ASM_IA64_UNISTD_H */
index dcd97f8..534a74a 100644 (file)
@@ -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