diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/include/asm/unistd.h | 3 | ||||
-rw-r--r-- | arch/s390/kernel/compat_wrapper.S | 8 | ||||
-rw-r--r-- | arch/s390/kernel/syscalls.S | 1 |
3 files changed, 11 insertions, 1 deletions
diff --git a/arch/s390/include/asm/unistd.h b/arch/s390/include/asm/unistd.h index f0f19e6ace6c..90557237172b 100644 --- a/arch/s390/include/asm/unistd.h +++ b/arch/s390/include/asm/unistd.h | |||
@@ -267,7 +267,8 @@ | |||
267 | #define __NR_epoll_create1 327 | 267 | #define __NR_epoll_create1 327 |
268 | #define __NR_preadv 328 | 268 | #define __NR_preadv 328 |
269 | #define __NR_pwritev 329 | 269 | #define __NR_pwritev 329 |
270 | #define NR_syscalls 330 | 270 | #define __NR_rt_tgsigqueueinfo 330 |
271 | #define NR_syscalls 331 | ||
271 | 272 | ||
272 | /* | 273 | /* |
273 | * There are some system calls that are not present on 64 bit, some | 274 | * There are some system calls that are not present on 64 bit, some |
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S index fb38af6316bb..d2e7fbf5d65d 100644 --- a/arch/s390/kernel/compat_wrapper.S +++ b/arch/s390/kernel/compat_wrapper.S | |||
@@ -1823,3 +1823,11 @@ compat_sys_pwritev_wrapper: | |||
1823 | llgfr %r5,%r5 # u32 | 1823 | llgfr %r5,%r5 # u32 |
1824 | llgfr %r6,%r6 # u32 | 1824 | llgfr %r6,%r6 # u32 |
1825 | jg compat_sys_pwritev # branch to system call | 1825 | jg compat_sys_pwritev # branch to system call |
1826 | |||
1827 | .globl compat_sys_rt_tgsigqueueinfo_wrapper | ||
1828 | compat_sys_rt_tgsigqueueinfo_wrapper: | ||
1829 | lgfr %r2,%r2 # compat_pid_t | ||
1830 | lgfr %r3,%r3 # compat_pid_t | ||
1831 | lgfr %r4,%r4 # int | ||
1832 | llgtr %r5,%r5 # struct compat_siginfo * | ||
1833 | jg compat_sys_rt_tgsigqueueinfo_wrapper # branch to system call | ||
diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S index 2c7739fe70b1..82f89ef87d2e 100644 --- a/arch/s390/kernel/syscalls.S +++ b/arch/s390/kernel/syscalls.S | |||
@@ -338,3 +338,4 @@ SYSCALL(sys_dup3,sys_dup3,sys_dup3_wrapper) | |||
338 | SYSCALL(sys_epoll_create1,sys_epoll_create1,sys_epoll_create1_wrapper) | 338 | SYSCALL(sys_epoll_create1,sys_epoll_create1,sys_epoll_create1_wrapper) |
339 | SYSCALL(sys_preadv,sys_preadv,compat_sys_preadv_wrapper) | 339 | SYSCALL(sys_preadv,sys_preadv,compat_sys_preadv_wrapper) |
340 | SYSCALL(sys_pwritev,sys_pwritev,compat_sys_pwritev_wrapper) | 340 | SYSCALL(sys_pwritev,sys_pwritev,compat_sys_pwritev_wrapper) |
341 | SYSCALL(sys_rt_tgsigqueueinfo,sys_rt_tgsigqueueinfo,compat_sys_rt_tgsigqueueinfo_wrapper) /* 330 */ | ||