aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh5
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-04-19 17:52:20 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-04-19 17:52:20 +0900
commitb2212ea41dacda8cce0e7681a3a6ccc76c63802e (patch)
tree85f0dc57ff93f9b0dc221975806c3393eb229cbf /arch/sh/kernel/cpu/sh5
parentMerge branches 'sh/st-integration' and 'sh/stackprotector' into sh-latest (diff)
downloadlinux-dev-b2212ea41dacda8cce0e7681a3a6ccc76c63802e.tar.xz
linux-dev-b2212ea41dacda8cce0e7681a3a6ccc76c63802e.zip
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>
Diffstat (limited to 'arch/sh/kernel/cpu/sh5')
-rw-r--r--arch/sh/kernel/cpu/sh5/fpu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/kernel/cpu/sh5/fpu.c b/arch/sh/kernel/cpu/sh5/fpu.c
index 4b3bb35e99f3..9f8713aa7184 100644
--- a/arch/sh/kernel/cpu/sh5/fpu.c
+++ b/arch/sh/kernel/cpu/sh5/fpu.c
@@ -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);
}