0001
0002
0003 #include <asm/unistd.h>
0004 #include <asm/dwarf.h>
0005
0006 .macro vdso_syscall func,syscall
0007 .globl __kernel_compat_\func
0008 .type __kernel_compat_\func,@function
0009 .align 8
0010 __kernel_compat_\func:
0011 CFI_STARTPROC
0012 svc \syscall
0013
0014 .word 0
0015 CFI_ENDPROC
0016 .size __kernel_compat_\func,.-__kernel_compat_\func
0017 .endm
0018
0019 vdso_syscall restart_syscall,__NR_restart_syscall
0020 vdso_syscall sigreturn,__NR_sigreturn
0021 vdso_syscall rt_sigreturn,__NR_rt_sigreturn