blob: b3fc038ba2d58e146f14323f75907d751e7c6974 [file] [log] [blame]
#include "defs.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
int
sys_sigreturn(struct tcb *tcp)
{
if (entering(tcp)) {
#include "arch_sigreturn.c"
}
return 0;
}