summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2014-04-03 23:46:40 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 01:20:52 +0200
commit7caf62de25554da3af00c92c11afa95dcc3592c4 (patch)
tree29191c3fe35557b5fa3c64b393958261b7985768 /arch
parentsh: push extra copy of r0-r2 for syscall parameters (diff)
downloadlinux-7caf62de25554da3af00c92c11afa95dcc3592c4.tar.xz
linux-7caf62de25554da3af00c92c11afa95dcc3592c4.zip
sh: remove unused do_fpu_error
This does not appear to have been used since commit 74d99a5e2622 ("sh: SH-2A FPU support") in 2007. Signed-off-by: Bobby Bingham <koorogi@koorogi.info> Cc: Paul Mundt <paul.mundt@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-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)
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);
-}
-
/**
* fpu_init - Initialize FPU registers
* @fpu: Pointer to software emulated FPU registers.