summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/sp_fint.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-06-01 01:00:03 +0900
committerRalf Baechle <ralf@linux-mips.org>2006-06-06 00:15:20 +0100
commitecf52d3c895c8bc069b9ae07c18acf39d846c2ef (patch)
tree0c39ea1b0cf231b70a8b2340cb0217d0bca91b66 /arch/mips/math-emu/sp_fint.c
parent460c0422c3861ab63a14c2be600a96a9e68b89f2 (diff)
downloadblackbird-op-linux-ecf52d3c895c8bc069b9ae07c18acf39d846c2ef.tar.gz
blackbird-op-linux-ecf52d3c895c8bc069b9ae07c18acf39d846c2ef.zip
[MIPS] Fix compiler warnings (field width, unused variable)
Fix following warnings: linux/arch/mips/kernel/setup.c:432: warning: field width is not type int (arg 2) linux/arch/mips/kernel/setup.c:432: warning: field width is not type int (arg 4) linux/arch/mips/kernel/syscall.c:279: warning: unused variable `len' linux/arch/mips/kernel/syscall.c:280: warning: unused variable `name' linux/arch/mips/math-emu/dp_fint.c:32: warning: unused variable `xc' linux/arch/mips/math-emu/dp_flong.c:32: warning: unused variable `xc' linux/arch/mips/math-emu/sp_fint.c:32: warning: unused variable `xc' linux/arch/mips/math-emu/sp_flong.c:32: warning: unused variable `xc' (original patch by Atsushi, slight changes to the setup.c part by me.) Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/sp_fint.c')
-rw-r--r--arch/mips/math-emu/sp_fint.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/math-emu/sp_fint.c b/arch/mips/math-emu/sp_fint.c
index 7aac13afb09a..e88e125e01c2 100644
--- a/arch/mips/math-emu/sp_fint.c
+++ b/arch/mips/math-emu/sp_fint.c
@@ -29,7 +29,9 @@
ieee754sp ieee754sp_fint(int x)
{
- COMPXSP;
+ unsigned xm;
+ int xe;
+ int xs;
CLEARCX;
OpenPOWER on IntegriCloud