Commit 0493bae2 authored by Paul Mackerras's avatar Paul Mackerras

PPC32: allocate syscall #s for alloc/free_hugepages and exit_group

and add exit_group to the syscall table.
parent 51ed88a4
...@@ -1304,6 +1304,9 @@ _GLOBAL(sys_call_table) ...@@ -1304,6 +1304,9 @@ _GLOBAL(sys_call_table)
.long sys_io_getevents .long sys_io_getevents
.long sys_io_submit /* 230 */ .long sys_io_submit /* 230 */
.long sys_io_cancel .long sys_io_cancel
.long sys_ni_syscall /* reserved for alloc_hugepages */
.long sys_ni_syscall /* reserved for free_hugepages */
.long sys_exit_group
.rept NR_syscalls-(.-sys_call_table)/4 .rept NR_syscalls-(.-sys_call_table)/4
.long sys_ni_syscall .long sys_ni_syscall
......
...@@ -239,6 +239,9 @@ ...@@ -239,6 +239,9 @@
#define __NR_io_getevents 229 #define __NR_io_getevents 229
#define __NR_io_submit 230 #define __NR_io_submit 230
#define __NR_io_cancel 231 #define __NR_io_cancel 231
#define __NR_alloc_hugepages 232
#define __NR_free_hugepages 233
#define __NR_exit_group 234
#define __NR(n) #n #define __NR(n) #n
......
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