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/powerpc/bits/syscall.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/powerpc') diff --git a/arch/powerpc/bits/syscall.h b/arch/powerpc/bits/syscall.h index 2dfec2fa..e02f56f1 100644 --- a/arch/powerpc/bits/syscall.h +++ b/arch/powerpc/bits/syscall.h @@ -367,6 +367,7 @@ #define __NR_switch_endian 363 #define __NR_userfaultfd 364 #define __NR_membarrier 365 +#define __NR_mlock2 378 /* * repeated with SYS prefix @@ -740,3 +741,4 @@ #define SYS_switch_endian 363 #define SYS_userfaultfd 364 #define SYS_membarrier 365 +#define SYS_mlock2 378 -- cgit v1.2.1