Skip to content

Commit 28fa99b

Browse files
author
Russell King
committed
ARM: wire up mlock2 syscall
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 8005c49 commit 28fa99b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/arm/include/uapi/asm/unistd.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@
416416
#define __NR_execveat (__NR_SYSCALL_BASE+387)
417417
#define __NR_userfaultfd (__NR_SYSCALL_BASE+388)
418418
#define __NR_membarrier (__NR_SYSCALL_BASE+389)
419+
#define __NR_mlock2 (__NR_SYSCALL_BASE+390)
419420

420421
/*
421422
* The following SWIs are ARM private.

arch/arm/kernel/calls.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@
399399
CALL(sys_execveat)
400400
CALL(sys_userfaultfd)
401401
CALL(sys_membarrier)
402+
CALL(sys_mlock2)
402403
#ifndef syscalls_counted
403404
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
404405
#define syscalls_counted

0 commit comments

Comments
 (0)