Setup_frame is now returning a success value.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle
2005-07-11 20:45:51 +00:00
parent b490ff4270
commit 129bc8f78b
4 changed files with 32 additions and 25 deletions

View File

@@ -130,7 +130,7 @@ badframe:
force_sig(SIGSEGV, current);
}
void setup_rt_frame_n32(struct k_sigaction * ka,
int setup_rt_frame_n32(struct k_sigaction * ka,
struct pt_regs *regs, int signr, sigset_t *set, siginfo_t *info)
{
struct rt_sigframe_n32 *frame;
@@ -184,8 +184,9 @@ void setup_rt_frame_n32(struct k_sigaction * ka,
current->comm, current->pid,
frame, regs->cp0_epc, regs->regs[31]);
#endif
return;
return 1;
give_sigsegv:
force_sigsegv(signr, current);
return 0;
}