From b2212ea41dacda8cce0e7681a3a6ccc76c63802e Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Thu, 19 Apr 2012 17:52:20 +0900 Subject: 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 --- arch/sh/kernel/cpu/sh5/fpu.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch/sh/kernel/cpu/sh5') 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); } -- cgit v1.2.3