summaryrefslogtreecommitdiff
path: root/arch/aarch64
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-01-23 23:16:14 +0000
committerRich Felker <dalias@aerifal.cx>2016-01-26 18:30:50 -0500
commit51d5f139ca9e79d621a396542dde5b8cd76c5c3f (patch)
tree7a2eb9fdc817d9dbd5a12125bf12753ada59d609 /arch/aarch64
parentaaa604052dce98cfb4cc39f561bbb739c69bd802 (diff)
downloadmusl-51d5f139ca9e79d621a396542dde5b8cd76c5c3f.tar.gz
musl-51d5f139ca9e79d621a396542dde5b8cd76c5c3f.tar.bz2
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/aarch64')
-rw-r--r--arch/aarch64/bits/syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/aarch64/bits/syscall.h b/arch/aarch64/bits/syscall.h
index d64b4371..31bed730 100644
--- a/arch/aarch64/bits/syscall.h
+++ b/arch/aarch64/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