Skip to contentSkip to conversation

sh-remove-unused-do_fpu_error.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 4, 2014 SuperH

lore
Share & tools
lore
#0 lore raw

Subject: [merged] sh-remove-unused-do_fpu_error.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 04 Apr 2014 12:29:47 -0700

The patch titled
Subject: sh: remove unused do_fpu_error
has been removed from the -mm tree. Its filename was
sh-remove-unused-do_fpu_error.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Bobby Bingham <[email protected]>
Subject: sh: remove unused do_fpu_error

This does not appear to have been used since 74d99a5e26222 ("sh: SH-2A FPU support") in 2007.

---

 arch/sh/math-emu/math.c |   18 ------------------
 1 file changed, 18 deletions(-)
arch/sh/math-emu/math.c renamed from arch/sh/math-emu/math.c~sh-remove-unused-do_fpu_error +0 -17
diff -puN arch/sh/math-emu/math.c~sh-remove-unused-do_fpu_error arch/sh/math-emu/math.c
@@ -574,24 +574,6 @@ static int ieee_fpe_handler(struct pt_re
 	return 0;
 }
 
-asmlinkage void do_fpu_error(unsigned long r4, unsigned long r5,
-			     unsigned long r6, unsigned long r7,
-			     struct pt_regs regs)
-{
-	struct task_struct *tsk = current;
-	siginfo_t info;
-
-	if (ieee_fpe_handler (&regs))
-		return;
-
-	regs.pc += 2;
-	info.si_signo = SIGFPE;
-	info.si_errno = 0;
-	info.si_code = FPE_FLTINV;
-	info.si_addr = (void __user *)regs.pc;
-	force_sig_info(SIGFPE, &info, tsk);
-}