]> err.no Git - linux-2.6/commit
[MIPS] Fix missing prototypes in asm/fpu.h
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Tue, 15 Jul 2008 16:57:31 +0000 (19:57 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 20 Jul 2008 13:38:17 +0000 (14:38 +0100)
commitf028b8605613ade67fda554e30d367911d6c7222
treece9eaa54bb1a1bf287a9eea69fba1b44c1437a24
parent3450004a8cec8bab246372a1cabb9c2483b1e6c3
[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>
arch/mips/math-emu/kernel_linkage.c
include/asm-mips/fpu.h