Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
28fa99b7
Commit
28fa99b7
authored
Nov 18, 2015
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: wire up mlock2 syscall
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
8005c49d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
arch/arm/include/uapi/asm/unistd.h
arch/arm/include/uapi/asm/unistd.h
+1
-0
arch/arm/kernel/calls.S
arch/arm/kernel/calls.S
+1
-0
No files found.
arch/arm/include/uapi/asm/unistd.h
View file @
28fa99b7
...
@@ -416,6 +416,7 @@
...
@@ -416,6 +416,7 @@
#define __NR_execveat (__NR_SYSCALL_BASE+387)
#define __NR_execveat (__NR_SYSCALL_BASE+387)
#define __NR_userfaultfd (__NR_SYSCALL_BASE+388)
#define __NR_userfaultfd (__NR_SYSCALL_BASE+388)
#define __NR_membarrier (__NR_SYSCALL_BASE+389)
#define __NR_membarrier (__NR_SYSCALL_BASE+389)
#define __NR_mlock2 (__NR_SYSCALL_BASE+390)
/*
/*
* The following SWIs are ARM private.
* The following SWIs are ARM private.
...
...
arch/arm/kernel/calls.S
View file @
28fa99b7
...
@@ -399,6 +399,7 @@
...
@@ -399,6 +399,7 @@
CALL
(
sys_execveat
)
CALL
(
sys_execveat
)
CALL
(
sys_userfaultfd
)
CALL
(
sys_userfaultfd
)
CALL
(
sys_membarrier
)
CALL
(
sys_membarrier
)
CALL
(
sys_mlock2
)
#ifndef syscalls_counted
#ifndef syscalls_counted
.
equ
syscalls_padding
,
((
NR_syscalls
+
3
)
&
~
3
)
-
NR_syscalls
.
equ
syscalls_padding
,
((
NR_syscalls
+
3
)
&
~
3
)
-
NR_syscalls
#define syscalls_counted
#define syscalls_counted
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment