diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/mips/kernel/traps.c | 2 | ||||
| -rw-r--r-- | arch/parisc/kernel/ptrace.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index a6031b045b95..62df48b6fb46 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
| @@ -733,7 +733,7 @@ void force_fcr31_sig(unsigned long fcr31, void __user *fault_addr, | |||
| 733 | else if (fcr31 & FPU_CSR_INE_X) | 733 | else if (fcr31 & FPU_CSR_INE_X) |
| 734 | si_code = FPE_FLTRES; | 734 | si_code = FPE_FLTRES; |
| 735 | 735 | ||
| 736 | force_sig_fault(SIGFPE, si_code, fault_addr, tsk); | 736 | force_sig_fault_to_task(SIGFPE, si_code, fault_addr, tsk); |
| 737 | } | 737 | } |
| 738 | 738 | ||
| 739 | int process_fpemu_return(int sig, void __user *fault_addr, unsigned long fcr31) | 739 | int process_fpemu_return(int sig, void __user *fault_addr, unsigned long fcr31) |
diff --git a/arch/parisc/kernel/ptrace.c b/arch/parisc/kernel/ptrace.c index a3d2fb4e6dd2..f642ba378ffa 100644 --- a/arch/parisc/kernel/ptrace.c +++ b/arch/parisc/kernel/ptrace.c | |||
| @@ -88,9 +88,9 @@ void user_enable_single_step(struct task_struct *task) | |||
| 88 | ptrace_disable(task); | 88 | ptrace_disable(task); |
| 89 | /* Don't wake up the task, but let the | 89 | /* Don't wake up the task, but let the |
| 90 | parent know something happened. */ | 90 | parent know something happened. */ |
| 91 | force_sig_fault(SIGTRAP, TRAP_TRACE, | 91 | force_sig_fault_to_task(SIGTRAP, TRAP_TRACE, |
| 92 | (void __user *) (task_regs(task)->iaoq[0] & ~3), | 92 | (void __user *) (task_regs(task)->iaoq[0] & ~3), |
| 93 | task); | 93 | task); |
| 94 | /* notify_parent(task, SIGCHLD); */ | 94 | /* notify_parent(task, SIGCHLD); */ |
| 95 | return; | 95 | return; |
| 96 | } | 96 | } |
