1 #include "defs.h" 2 #include <signal.h> 3 #include "regs.h" 4 #include "ptrace.h" 5 6 #if defined HAVE_ASM_SIGCONTEXT_H && !defined HAVE_STRUCT_SIGCONTEXT 7 # include <asm/sigcontext.h> 8 #endif 9 10 #ifndef NSIG 11 # warning NSIG is not defined, using 32 12 # define NSIG 32 13 #elif NSIG < 32 14 # error NSIG < 32 15 #endif 16 17 #include "arch_sigreturn.c" 18 SYS_FUNC(sigreturn)19SYS_FUNC(sigreturn) 20 { 21 arch_sigreturn(tcp); 22 23 return RVAL_DECODED; 24 } 25