summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/dp_sqrt.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-16 01:31:11 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-05-21 11:12:48 +0200
commit2209bcb1310ffa9ee1af12573f1413581c712b15 (patch)
treeeba9f53adc3bb83dc499f15873d4e49886662122 /arch/mips/math-emu/dp_sqrt.c
parentMIPS: math-emu: Use English spelling of `constant' rather than Danish. (diff)
downloadlinux-2209bcb1310ffa9ee1af12573f1413581c712b15.tar.xz
linux-2209bcb1310ffa9ee1af12573f1413581c712b15.zip
MIPS: math-emu: Get rid of typedefs.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/dp_sqrt.c')
-rw-r--r--arch/mips/math-emu/dp_sqrt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/math-emu/dp_sqrt.c b/arch/mips/math-emu/dp_sqrt.c
index b874d60a942b..cee9f3c2700d 100644
--- a/arch/mips/math-emu/dp_sqrt.c
+++ b/arch/mips/math-emu/dp_sqrt.c
@@ -34,10 +34,10 @@ static const unsigned table[] = {
1742, 661, 130
};
-ieee754dp ieee754dp_sqrt(ieee754dp x)
+union ieee754dp ieee754dp_sqrt(union ieee754dp x)
{
struct _ieee754_csr oldcsr;
- ieee754dp y, z, t;
+ union ieee754dp y, z, t;
unsigned scalx, yh;
COMPXDP;