sh64: Kill off unused trap_no/error_code from thread_struct.
While the trap number and error code are passed around for debugging purposes, this occurs wholly independently of the thread struct values. These values were never part of the sigcontext ABI and are thus never passed anywhere, so we can just kill them off across the board. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -107,8 +107,5 @@ asmlinkage void do_fpu_error(unsigned long ex, struct pt_regs *regs)
|
||||
|
||||
regs->pc += 4;
|
||||
|
||||
tsk->thread.trap_no = 11;
|
||||
tsk->thread.error_code = 0;
|
||||
|
||||
force_sig(SIGFPE, tsk);
|
||||
}
|
||||
|
Referens i nytt ärende
Block a user