]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.16-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Aug 2014 16:46:13 +0000 (11:46 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Aug 2014 16:46:13 +0000 (11:46 -0500)
added patches:
mips-math-emu-fix-instruction-decoding.patch

queue-3.16/mips-math-emu-fix-instruction-decoding.patch [new file with mode: 0644]
queue-3.16/series

diff --git a/queue-3.16/mips-math-emu-fix-instruction-decoding.patch b/queue-3.16/mips-math-emu-fix-instruction-decoding.patch
new file mode 100644 (file)
index 0000000..fc7c4d6
--- /dev/null
@@ -0,0 +1,30 @@
+From c3b9b945e02e011c63522761e91133ea43eb6939 Mon Sep 17 00:00:00 2001
+From: Rob Kendrick <rob.kendrick@codethink.co.uk>
+Date: Wed, 23 Jul 2014 10:03:58 +0100
+Subject: MIPS: math-emu: Fix instruction decoding.
+
+From: Rob Kendrick <rob.kendrick@codethink.co.uk>
+
+commit c3b9b945e02e011c63522761e91133ea43eb6939 upstream.
+
+Tested-by: Aurelien Jarno <aurelien@aurel32.net>
+Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
+Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
+Cc: Markos Chandras <markos.chandras@imgtec.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/mips/math-emu/cp1emu.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/mips/math-emu/cp1emu.c
++++ b/arch/mips/math-emu/cp1emu.c
+@@ -1827,7 +1827,7 @@ dcopuop:
+       case -1:
+               if (cpu_has_mips_4_5_r)
+-                      cbit = fpucondbit[MIPSInst_RT(ir) >> 2];
++                      cbit = fpucondbit[MIPSInst_FD(ir) >> 2];
+               else
+                       cbit = FPU_CSR_COND;
+               if (rv.w)
index 3b630d47d4cd6bf5353dadf874f420acfdb451b5..4a6e33765e23e194b45ba726f81361e939e4db51 100644 (file)
@@ -1 +1,2 @@
 stable_kernel_rules-add-pointer-to-netdev-faq-for-network-patches.patch
+mips-math-emu-fix-instruction-decoding.patch