Commit 5c477b45 authored by Helge Deller's avatar Helge Deller

parisc: Wire up mlock2 syscall

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 5f0e9b4c
...@@ -360,8 +360,9 @@ ...@@ -360,8 +360,9 @@
#define __NR_execveat (__NR_Linux + 342) #define __NR_execveat (__NR_Linux + 342)
#define __NR_membarrier (__NR_Linux + 343) #define __NR_membarrier (__NR_Linux + 343)
#define __NR_userfaultfd (__NR_Linux + 344) #define __NR_userfaultfd (__NR_Linux + 344)
#define __NR_mlock2 (__NR_Linux + 345)
#define __NR_Linux_syscalls (__NR_userfaultfd + 1) #define __NR_Linux_syscalls (__NR_mlock2 + 1)
#define __IGNORE_select /* newselect */ #define __IGNORE_select /* newselect */
......
...@@ -440,6 +440,7 @@ ...@@ -440,6 +440,7 @@
ENTRY_COMP(execveat) ENTRY_COMP(execveat)
ENTRY_SAME(membarrier) ENTRY_SAME(membarrier)
ENTRY_SAME(userfaultfd) ENTRY_SAME(userfaultfd)
ENTRY_SAME(mlock2) /* 345 */
.ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b)) .ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment