[PATCH] Fix MIPS math-emu -Werror compile failure encountered whiledoing a Malta build.

From: Dragos Tatulea
Date: Sat Sep 25 2010 - 15:20:29 EST


Signed-off-by: Dragos Tatulea <dragos.tatulea@xxxxxxxxx>
---
arch/mips/math-emu/cp1emu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c
index 47842b7..c0af7f1 100644
--- a/arch/mips/math-emu/cp1emu.c
+++ b/arch/mips/math-emu/cp1emu.c
@@ -1243,7 +1243,7 @@ int fpu_emulator_cop1Handler(struct pt_regs
*xcp, struct mips_fpu_struct *ctx,
int has_fpu)
{
unsigned long oldepc, prevepc;
- mips_instruction insn;
+ mips_instruction uninitialized_var(insn);
int sig = 0;

oldepc = xcp->cp0_epc;
--
1.7.2.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/