Skip to content

Commit

Permalink
parisc: Wire up mlock2 syscall
Browse files Browse the repository at this point in the history
Signed-off-by: Helge Deller <[email protected]>
  • Loading branch information
hdeller committed Dec 12, 2015
1 parent 5f0e9b4 commit 5c477b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/parisc/include/uapi/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,9 @@
#define __NR_execveat (__NR_Linux + 342)
#define __NR_membarrier (__NR_Linux + 343)
#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 */
Expand Down
1 change: 1 addition & 0 deletions arch/parisc/kernel/syscall_table.S
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@
ENTRY_COMP(execveat)
ENTRY_SAME(membarrier)
ENTRY_SAME(userfaultfd)
ENTRY_SAME(mlock2) /* 345 */


.ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b))
Expand Down

0 comments on commit 5c477b4

Please sign in to comment.