1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#include <linux/linkage.h> 4#include <asm/unistd.h> 5#include <asm/dwarf.h> 6 7.macro vdso_syscall func,syscall 8 .globl __kernel_compat_\func 9 .type __kernel_compat_\func,@function 10 __ALIGN 11__kernel_compat_\func: 12 CFI_STARTPROC 13 svc \syscall 14 /* Make sure we notice when a syscall returns, which shouldn't happen */ 15 .word 0 16 CFI_ENDPROC 17 .size __kernel_compat_\func,.-__kernel_compat_\func 18.endm 19 20vdso_syscall restart_syscall,__NR_restart_syscall 21vdso_syscall sigreturn,__NR_sigreturn 22vdso_syscall rt_sigreturn,__NR_rt_sigreturn 23