1 /* SPDX-License-Identifier: GPL-2.0 */
3 #include <asm/unistd.h>
6 .macro vdso_syscall func,syscall
7 .globl __kernel_compat_\func
8 .type __kernel_compat_\func,@function
10 __kernel_compat_\func:
13 /* Make sure we notice when a syscall returns, which shouldn't happen */
16 .size __kernel_compat_\func,.-__kernel_compat_\func
19 vdso_syscall restart_syscall,__NR_restart_syscall
20 vdso_syscall sigreturn,__NR_sigreturn
21 vdso_syscall rt_sigreturn,__NR_rt_sigreturn