From 51d5f139ca9e79d621a396542dde5b8cd76c5c3f Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 23 Jan 2016 23:16:14 +0000 Subject: add mlock2 syscall number from linux v4.4 this is mlock with a flags argument, new in linux commit a8ca5d0ecbdde5cc3d7accacbd69968b0c98764e as usual microblaze and sh don't have allocated syscall number yet. --- arch/x32/bits/syscall.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/x32/bits') diff --git a/arch/x32/bits/syscall.h b/arch/x32/bits/syscall.h index 6240c356..4a1099d3 100644 --- a/arch/x32/bits/syscall.h +++ b/arch/x32/bits/syscall.h @@ -279,6 +279,7 @@ #define __NR_bpf (__X32_SYSCALL_BIT + 321) #define __NR_userfaultfd (__X32_SYSCALL_BIT + 323) #define __NR_membarrier (__X32_SYSCALL_BIT + 324) +#define __NR_mlock2 (__X32_SYSCALL_BIT + 325) #define __NR_rt_sigaction (__X32_SYSCALL_BIT + 512) #define __NR_rt_sigreturn (__X32_SYSCALL_BIT + 513) @@ -611,6 +612,7 @@ #define SYS_bpf __NR_bpf #define SYS_userfaultfd __NR_userfaultfd #define SYS_membarrier __NR_membarrier +#define SYS_mlock2 __NR_mlock2 #define SYS_rt_sigaction __NR_rt_sigaction -- cgit v1.2.1