diff options
author | Szabolcs Nagy <nsz@port70.net> | 2016-01-23 23:16:14 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-26 18:30:50 -0500 |
commit | 51d5f139ca9e79d621a396542dde5b8cd76c5c3f (patch) | |
tree | 7a2eb9fdc817d9dbd5a12125bf12753ada59d609 /arch/mips/bits | |
parent | aaa604052dce98cfb4cc39f561bbb739c69bd802 (diff) | |
download | musl-51d5f139ca9e79d621a396542dde5b8cd76c5c3f.tar.gz musl-51d5f139ca9e79d621a396542dde5b8cd76c5c3f.tar.xz musl-51d5f139ca9e79d621a396542dde5b8cd76c5c3f.zip |
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.
Diffstat (limited to 'arch/mips/bits')
-rw-r--r-- | arch/mips/bits/syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/bits/syscall.h b/arch/mips/bits/syscall.h index 08bac39d..340c5873 100644 --- a/arch/mips/bits/syscall.h +++ b/arch/mips/bits/syscall.h @@ -356,6 +356,7 @@ #define __NR_execveat 4356 #define __NR_userfaultfd 4357 #define __NR_membarrier 4358 +#define __NR_mlock2 4359 /* Repeated with SYS_ prefix */ @@ -717,3 +718,4 @@ #define SYS_execveat 4356 #define SYS_userfaultfd 4357 #define SYS_membarrier 4358 +#define SYS_mlock2 4359 |