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
0e9387ab
Commit
0e9387ab
authored
Sep 11, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allocate system call numbers: 250 and 251 for hugetlb, with
252 for exit_group
parent
6ff3e5b7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
arch/i386/kernel/entry.S
arch/i386/kernel/entry.S
+3
-1
include/asm-i386/unistd.h
include/asm-i386/unistd.h
+3
-0
No files found.
arch/i386/kernel/entry.S
View file @
0e9387ab
...
...
@@ -759,7 +759,9 @@ ENTRY(sys_call_table)
.
long
sys_io_getevents
.
long
sys_io_submit
.
long
sys_io_cancel
.
long
sys_exit_group
/*
250
*/
.
long
sys_ni_syscall
/*
250
*/
/*
sys_alloc_hugepages
*/
.
long
sys_ni_syscall
/*
sys_free_hugepages
*/
.
long
sys_exit_group
.
rept
NR_syscalls
-(
.
-
sys_call_table
)/
4
.
long
sys_ni_syscall
...
...
include/asm-i386/unistd.h
View file @
0e9387ab
...
...
@@ -254,6 +254,9 @@
#define __NR_io_getevents 247
#define __NR_io_submit 248
#define __NR_io_cancel 249
#define __NR_alloc_hugepages 250
#define __NR_free_hugepages 251
#define __NR_exit_group 252
/* user-visible error numbers are in the range -1 - -124: see <asm-i386/errno.h> */
...
...
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