aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sh/math-emu/math.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/sh/math-emu/math.c b/arch/sh/math-emu/math.c
index b876780c1e1c..04aa55fa8c75 100644
--- a/arch/sh/math-emu/math.c
+++ b/arch/sh/math-emu/math.c
@@ -574,24 +574,6 @@ static int ieee_fpe_handler(struct pt_regs *regs)
574 return 0; 574 return 0;
575} 575}
576 576
577asmlinkage 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
595/** 577/**
596 * fpu_init - Initialize FPU registers 578 * fpu_init - Initialize FPU registers
597 * @fpu: Pointer to software emulated FPU registers. 579 * @fpu: Pointer to software emulated FPU registers.