aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/signal_n32.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-07-11 16:45:51 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:31:41 -0400
commit129bc8f78b468df6824dd1584829f10aa3a69c27 (patch)
tree714e9026691a406ffb76110486f21ca3107df938 /arch/mips/kernel/signal_n32.c
parentb490ff42709546d5cf6b631c1a84a5f4fcb020e4 (diff)
Setup_frame is now returning a success value.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/signal_n32.c')
-rw-r--r--arch/mips/kernel/signal_n32.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/kernel/signal_n32.c b/arch/mips/kernel/signal_n32.c
index f47c3aaaec8a..ec61b2670ba6 100644
--- a/arch/mips/kernel/signal_n32.c
+++ b/arch/mips/kernel/signal_n32.c
@@ -130,7 +130,7 @@ badframe:
130 force_sig(SIGSEGV, current); 130 force_sig(SIGSEGV, current);
131} 131}
132 132
133void setup_rt_frame_n32(struct k_sigaction * ka, 133int setup_rt_frame_n32(struct k_sigaction * ka,
134 struct pt_regs *regs, int signr, sigset_t *set, siginfo_t *info) 134 struct pt_regs *regs, int signr, sigset_t *set, siginfo_t *info)
135{ 135{
136 struct rt_sigframe_n32 *frame; 136 struct rt_sigframe_n32 *frame;
@@ -184,8 +184,9 @@ void setup_rt_frame_n32(struct k_sigaction * ka,
184 current->comm, current->pid, 184 current->comm, current->pid,
185 frame, regs->cp0_epc, regs->regs[31]); 185 frame, regs->cp0_epc, regs->regs[31]);
186#endif 186#endif
187 return; 187 return 1;
188 188
189give_sigsegv: 189give_sigsegv:
190 force_sigsegv(signr, current); 190 force_sigsegv(signr, current);
191 return 0;
191} 192}