Skip to content

Commit 7caf62d

Browse files
Bobby Binghamtorvalds
authored andcommitted
sh: remove unused do_fpu_error
This does not appear to have been used since commit 74d99a5 ("sh: SH-2A FPU support") in 2007. Signed-off-by: Bobby Bingham <[email protected]> Cc: Paul Mundt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent abafe5d commit 7caf62d

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

arch/sh/math-emu/math.c

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -574,24 +574,6 @@ static int ieee_fpe_handler(struct pt_regs *regs)
574574
return 0;
575575
}
576576

577-
asmlinkage void do_fpu_error(unsigned long r4, unsigned long r5,
578-
unsigned long r6, unsigned long r7,
579-
struct pt_regs regs)
580-
{
581-
struct task_struct *tsk = current;
582-
siginfo_t info;
583-
584-
if (ieee_fpe_handler (&regs))
585-
return;
586-
587-
regs.pc += 2;
588-
info.si_signo = SIGFPE;
589-
info.si_errno = 0;
590-
info.si_code = FPE_FLTINV;
591-
info.si_addr = (void __user *)regs.pc;
592-
force_sig_info(SIGFPE, &info, tsk);
593-
}
594-
595577
/**
596578
* fpu_init - Initialize FPU registers
597579
* @fpu: Pointer to software emulated FPU registers.

0 commit comments

Comments
 (0)