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/or1k/bits/syscall.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/or1k') diff --git a/arch/or1k/bits/syscall.h b/arch/or1k/bits/syscall.h index 203e243b..a73b2324 100644 --- a/arch/or1k/bits/syscall.h +++ b/arch/or1k/bits/syscall.h @@ -267,6 +267,7 @@ #define __NR_execveat 281 #define __NR_userfaultfd 282 #define __NR_membarrier 283 +#define __NR_mlock2 284 #define SYS_io_setup __NR_io_setup #define SYS_io_destroy __NR_io_destroy @@ -537,3 +538,4 @@ #define SYS_execveat __NR_execveat #define SYS_userfaultfd __NR_userfaultfd #define SYS_membarrier __NR_membarrier +#define SYS_mlock2 __NR_mlock2 -- cgit v1.2.1