dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/arch/mips/math-emu
Dmitri Vorobiev f028b86056 [MIPS] Fix missing prototypes in asm/fpu.h
While building the Malta defconfig, sparse spat the following
warnings:

>>>>>>>>>>>>>>>>>>
arch/mips/math-emu/kernel_linkage.c:31:6: warning: symbol
'fpu_emulator_init_fpu' was not declared. Should it be static?

arch/mips/math-emu/kernel_linkage.c:54:5: warning: symbol
'fpu_emulator_save_context' was not declared. Should it be
static?

arch/mips/math-emu/kernel_linkage.c:68:5: warning: symbol
'fpu_emulator_restore_context' was not declared. Should it be
static?
>>>>>>>>>>>>>>>>>>

This patch fixes these errors by adding the proper prototypes
to the include/asm-mips/fpu.h header, and actually using this
header in the sparse-spotted source file.

Build-tested with Malta defconfig.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2008-07-20 14:38:17 +01:00
..
Makefile [MIPS] Use -Werror on subdirectories which build cleanly. 2007-07-31 21:35:33 +01:00
cp1emu.c [MIPS] checkfiles: Fix "need space after that ','" errors. 2007-10-11 23:46:15 +01:00
dp_add.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dp_cmp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dp_div.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dp_fint.c [MIPS] Fix compiler warnings (field width, unused variable) 2006-06-06 00:15:20 +01:00
dp_flong.c [MIPS] Fix compiler warnings (field width, unused variable) 2006-06-06 00:15:20 +01:00
dp_frexp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dp_fsp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dp_logb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dp_modf.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dp_mul.c [MIPS] checkfiles: Fix "need space after that ','" errors. 2007-10-11 23:46:15 +01:00
dp_scalb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dp_simple.c [MIPS] ieee754[sd]p_neg workaround 2006-02-07 13:30:25 +00:00
dp_sqrt.c Fix preemption and SMP problems in the FP emulator code. 2005-10-29 19:31:12 +01:00
dp_sub.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dp_tint.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dp_tlong.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dsemul.c [MIPS] Add some __user tags 2007-07-13 17:40:01 +01:00
dsemul.h Gross macro abuse. Get rid of gpreg_t, vaddr_t, REG_TO_VA and 2005-10-29 19:30:46 +01:00
ieee754.c [MIPS] Compliment va_start() with va_end(). 2007-11-26 17:26:15 +00:00
ieee754.h [MIPS] Unify mips_fpu_soft_struct and mips_fpu_hard_structs. 2006-06-19 17:39:18 +01:00
ieee754d.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ieee754dp.c [MIPS] Compliment va_start() with va_end(). 2007-11-26 17:26:15 +00:00
ieee754dp.h [MIPS] replace __inline with inline 2008-04-28 17:14:26 +01:00
ieee754int.h [MIPS] checkfiles: Fix "need space after that ','" errors. 2007-10-11 23:46:15 +01:00
ieee754m.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ieee754sp.c [MIPS] Compliment va_start() with va_end(). 2007-11-26 17:26:15 +00:00
ieee754sp.h [MIPS] replace __inline with inline 2008-04-28 17:14:26 +01:00
ieee754xcpt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel_linkage.c [MIPS] Fix missing prototypes in asm/fpu.h 2008-07-20 14:38:17 +01:00
sp_add.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sp_cmp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sp_div.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sp_fdp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sp_fint.c [MIPS] Fix compiler warnings (field width, unused variable) 2006-06-06 00:15:20 +01:00
sp_flong.c [MIPS] Fix compiler warnings (field width, unused variable) 2006-06-06 00:15:20 +01:00
sp_frexp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sp_logb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sp_modf.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sp_mul.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sp_scalb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sp_simple.c [MIPS] ieee754[sd]p_neg workaround 2006-02-07 13:30:25 +00:00
sp_sqrt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sp_sub.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sp_tint.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sp_tlong.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00