]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
sparc: add waitfd to 32 bit system call tables
authorMike Kravetz <mike.kravetz@oracle.com>
Wed, 21 Dec 2016 20:02:29 +0000 (12:02 -0800)
committerDhaval Giani <dhaval.giani@oracle.com>
Fri, 20 Jan 2017 18:53:23 +0000 (13:53 -0500)
Orabug: 21685254

When the waitfd system call was added to UEK, it was only added to the
64 bit system call table.  As a result, you can not add a new system
call to the end of the 32 and 64 bit system call tables as they will
not have the same system call number.

Add waitfd to the 32 bit system call tables, so that a new system call
can be added to all tables.

Fixes: 91352d1f (dtrace: add support for sparc64 1of3)
Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
arch/sparc/kernel/systbls_32.S
arch/sparc/kernel/systbls_64.S

index e31a9056a3039ad5e5b2b7da5abe7f18509d1107..6b624cff59ada6143e3fb23495a11aee72b8dfe9 100644 (file)
@@ -87,4 +87,4 @@ sys_call_table:
 /*335*/        .long sys_syncfs, sys_sendmmsg, sys_setns, sys_process_vm_readv, sys_process_vm_writev
 /*340*/        .long sys_ni_syscall, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr
 /*345*/        .long sys_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf
-/*350*/        .long sys_execveat
+/*350*/        .long sys_execveat, sys_waitfd
index d72f76ae70eba5a7418630c7e1890a6e239675cd..e20617cccb91c3d8883df9b8cfc16699d3e4b2a8 100644 (file)
@@ -88,7 +88,7 @@ sys_call_table32:
        .word sys_syncfs, compat_sys_sendmmsg, sys_setns, compat_sys_process_vm_readv, compat_sys_process_vm_writev
 /*340*/        .word sys_kern_features, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr
        .word sys32_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf
-/*350*/        .word sys32_execveat
+/*350*/        .word sys32_execveat, sys_waitfd
 
 #endif /* CONFIG_COMPAT */