]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Don't try to decode microMIPS branch instructions where they cannot exist.
authorDavid Daney <david.daney@cavium.com>
Fri, 24 May 2013 20:54:09 +0000 (20:54 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 1 Jul 2013 13:10:57 +0000 (15:10 +0200)
commit206987a000e329ea90e2ee5b2d4d25c2fcd7aa94
tree1e62d46be2642ce38dc3d59f49d19403c923e9f9
parent6da1e4d3ffef5e47d3caac55dec2e33b8275b9e8
MIPS: Don't try to decode microMIPS branch instructions where they cannot exist.

In mm_isBranchInstr() we can short circuit the entire function if
!cpu_has_mmips.

Signed-off-by: David Daney <david.daney@cavium.com>
Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5326/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/cp1emu.c