summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/sp_tlong.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/sp_tlong.c
parent23708818210cec367083ce9c09c6e71a5767d7e3 (diff)
downloadblackbird-op-linux-2209bcb1310ffa9ee1af12573f1413581c712b15.tar.gz
blackbird-op-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/sp_tlong.c')
-rw-r--r--arch/mips/math-emu/sp_tlong.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/math-emu/sp_tlong.c b/arch/mips/math-emu/sp_tlong.c
index d0ca6e22be29..da412d38d5ef 100644
--- a/arch/mips/math-emu/sp_tlong.c
+++ b/arch/mips/math-emu/sp_tlong.c
@@ -26,7 +26,7 @@
#include "ieee754sp.h"
-s64 ieee754sp_tlong(ieee754sp x)
+s64 ieee754sp_tlong(union ieee754sp x)
{
COMPXDP; /* <-- need 64-bit mantissa tmp */
@@ -108,9 +108,9 @@ s64 ieee754sp_tlong(ieee754sp x)
}
-u64 ieee754sp_tulong(ieee754sp x)
+u64 ieee754sp_tulong(union ieee754sp x)
{
- ieee754sp hb = ieee754sp_1e63();
+ union ieee754sp hb = ieee754sp_1e63();
/* what if x < 0 ?? */
if (ieee754sp_lt(x, hb))
OpenPOWER on IntegriCloud