Mention branches and keyring.
[releases.git] / s390 / kernel / vdso32 / vdso_user_wrapper.S
1 /* SPDX-License-Identifier: GPL-2.0 */
2
3 #include <asm/unistd.h>
4 #include <asm/dwarf.h>
5
6 .macro vdso_syscall func,syscall
7         .globl __kernel_compat_\func
8         .type  __kernel_compat_\func,@function
9         .align 8
10 __kernel_compat_\func:
11         CFI_STARTPROC
12         svc     \syscall
13         /* Make sure we notice when a syscall returns, which shouldn't happen */
14         .word   0
15         CFI_ENDPROC
16         .size   __kernel_compat_\func,.-__kernel_compat_\func
17 .endm
18
19 vdso_syscall restart_syscall,__NR_restart_syscall
20 vdso_syscall sigreturn,__NR_sigreturn
21 vdso_syscall rt_sigreturn,__NR_rt_sigreturn