diff options
-rw-r--r-- | arch/s390/kernel/compat_wrapper.S | 5 | ||||
-rw-r--r-- | arch/s390/kernel/syscalls.S | 1 | ||||
-rw-r--r-- | include/asm-s390/unistd.h | 3 |
3 files changed, 8 insertions, 1 deletions
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S index 83b33fe1923c..38a6ef5ec624 100644 --- a/arch/s390/kernel/compat_wrapper.S +++ b/arch/s390/kernel/compat_wrapper.S | |||
@@ -1602,3 +1602,8 @@ compat_sys_ppoll_wrapper: | |||
1602 | llgtr %r5,%r5 # const sigset_t * | 1602 | llgtr %r5,%r5 # const sigset_t * |
1603 | llgfr %r6,%r6 # size_t | 1603 | llgfr %r6,%r6 # size_t |
1604 | jg compat_sys_ppoll | 1604 | jg compat_sys_ppoll |
1605 | |||
1606 | .globl sys_unshare_wrapper | ||
1607 | sys_unshare_wrapper: | ||
1608 | llgfr %r2,%r2 # unsigned long | ||
1609 | jg sys_unshare | ||
diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S index 3280345efacd..e86a4debb160 100644 --- a/arch/s390/kernel/syscalls.S +++ b/arch/s390/kernel/syscalls.S | |||
@@ -311,3 +311,4 @@ SYSCALL(sys_fchmodat,sys_fchmodat,sys_fchmodat_wrapper) | |||
311 | SYSCALL(sys_faccessat,sys_faccessat,sys_faccessat_wrapper) /* 300 */ | 311 | SYSCALL(sys_faccessat,sys_faccessat,sys_faccessat_wrapper) /* 300 */ |
312 | SYSCALL(sys_pselect6,sys_pselect6,compat_sys_pselect6_wrapper) | 312 | SYSCALL(sys_pselect6,sys_pselect6,compat_sys_pselect6_wrapper) |
313 | SYSCALL(sys_ppoll,sys_ppoll,compat_sys_ppoll_wrapper) | 313 | SYSCALL(sys_ppoll,sys_ppoll,compat_sys_ppoll_wrapper) |
314 | SYSCALL(sys_unshare,sys_unshare,sys_unshare_wrapper) | ||
diff --git a/include/asm-s390/unistd.h b/include/asm-s390/unistd.h index 29a9f357eb9e..0a2f6664c4cf 100644 --- a/include/asm-s390/unistd.h +++ b/include/asm-s390/unistd.h | |||
@@ -295,8 +295,9 @@ | |||
295 | #define __NR_faccessat 300 | 295 | #define __NR_faccessat 300 |
296 | #define __NR_pselect6 301 | 296 | #define __NR_pselect6 301 |
297 | #define __NR_ppoll 302 | 297 | #define __NR_ppoll 302 |
298 | #define __NR_unshare 303 | ||
298 | 299 | ||
299 | #define NR_syscalls 303 | 300 | #define NR_syscalls 304 |
300 | 301 | ||
301 | /* | 302 | /* |
302 | * There are some system calls that are not present on 64 bit, some | 303 | * There are some system calls that are not present on 64 bit, some |