MIPS: cp1emu: Fix closing bracket for the d_fmt case
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 16 Jul 2015 13:06:45 +0000 (14:06 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 3 Sep 2015 10:07:42 +0000 (12:07 +0200)
The double format (d_fmt) case uses an opening bracket which then
closes at the end of the word format (w_fmt). This can be rather confusing
so add the closing bracket at the end of the d_fmt case and use another one
for the w_fmt one.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10733/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/cp1emu.c

index 712f17a2ecf206e1b5d33a63956e62baac29cb08..cd858953a78374b2d46f92201cb6ae55c32444ab 100644 (file)
@@ -2021,8 +2021,11 @@ dcopuop:
                        break;
                }
                break;
+       }
+
+       case w_fmt: {
+               union ieee754dp fs;
 
-       case w_fmt:
                switch (MIPSInst_FUNC(ir)) {
                case fcvts_op:
                        /* convert word to single precision real */