blob: 9f2e32de223d52a4592259d4a4322c96195ff0e0 [file] [log] [blame]
#include "defs.h"
#include <signal.h>
#include "regs.h"
#include "ptrace.h"
#if defined HAVE_ASM_SIGCONTEXT_H && !defined HAVE_STRUCT_SIGCONTEXT
# include <asm/sigcontext.h>
#endif
#ifndef NSIG
# warning NSIG is not defined, using 32
# define NSIG 32
#elif NSIG < 32
# error NSIG < 32
#endif
static void
arch_sigreturn(struct tcb *tcp)
{
#include "arch_sigreturn.c"
}
SYS_FUNC(sigreturn)
{
arch_sigreturn(tcp);
return RVAL_DECODED;
}