diff options
Diffstat (limited to 'arch/mips/kernel/signal_n32.c')
-rw-r--r-- | arch/mips/kernel/signal_n32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/signal_n32.c b/arch/mips/kernel/signal_n32.c index 9156863c1a5d..384fc4a639a4 100644 --- a/arch/mips/kernel/signal_n32.c +++ b/arch/mips/kernel/signal_n32.c | |||
@@ -186,9 +186,9 @@ int setup_rt_frame_n32(struct k_sigaction * ka, | |||
186 | current->comm, current->pid, | 186 | current->comm, current->pid, |
187 | frame, regs->cp0_epc, regs->regs[31]); | 187 | frame, regs->cp0_epc, regs->regs[31]); |
188 | #endif | 188 | #endif |
189 | return 1; | 189 | return 0; |
190 | 190 | ||
191 | give_sigsegv: | 191 | give_sigsegv: |
192 | force_sigsegv(signr, current); | 192 | force_sigsegv(signr, current); |
193 | return 0; | 193 | return -EFAULT; |
194 | } | 194 | } |