]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - arch/sh/math-emu/math.c
signal: Remove the task parameter from force_sig_fault
[mirror_ubuntu-focal-kernel.git] / arch / sh / math-emu / math.c
index fe261b0983cc50dddf1959428a4016a29eb2a13b..e8be0eca0444a05da6e80e9f683695fa0429b378 100644 (file)
@@ -560,7 +560,7 @@ static int ieee_fpe_handler(struct pt_regs *regs)
                        task_thread_info(tsk)->status |= TS_USEDFPU;
                } else {
                        force_sig_fault(SIGFPE, FPE_FLTINV,
-                                       (void __user *)regs->pc, current);
+                                       (void __user *)regs->pc);
                }
 
                regs->pc = nextpc;