Commit 0e9387ab authored by Linus Torvalds's avatar Linus Torvalds

Allocate system call numbers: 250 and 251 for hugetlb, with

252 for exit_group
parent 6ff3e5b7
......@@ -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
......
......@@ -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> */
......
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