]> git.hungrycats.org Git - linux/commitdiff
PPC32: allocate syscall #s for alloc/free_hugepages and exit_group
authorPaul Mackerras <paulus@samba.org>
Mon, 16 Sep 2002 18:58:44 +0000 (04:58 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 16 Sep 2002 18:58:44 +0000 (04:58 +1000)
and add exit_group to the syscall table.

arch/ppc/kernel/misc.S
include/asm-ppc/unistd.h

index 77a847926ed8dc907e4c361befa4b73393834b6b..54cc9df024036adb9b0338986f637e80afd05ac5 100644 (file)
@@ -1304,6 +1304,9 @@ _GLOBAL(sys_call_table)
        .long sys_io_getevents
        .long sys_io_submit     /* 230 */
        .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
                .long sys_ni_syscall
index 4f7e364fc0d63995bffef08e2ba94b03dbf50cb4..510bfd1772c227fae408d3d75d4520f489c2f9fb 100644 (file)
 #define __NR_io_getevents      229
 #define __NR_io_submit         230
 #define __NR_io_cancel         231
+#define __NR_alloc_hugepages   232
+#define __NR_free_hugepages    233
+#define __NR_exit_group                234
 
 #define __NR(n)        #n