]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: branch: Remove FP branch handling when CONFIG_MIPS_FP_SUPPORT=n
authorPaul Burton <paul.burton@mips.com>
Wed, 7 Nov 2018 23:14:06 +0000 (23:14 +0000)
committerPaul Burton <paul.burton@mips.com>
Fri, 9 Nov 2018 18:23:16 +0000 (10:23 -0800)
commitbb68a8a42b66a062888530e200f8f97aa7f68f6f
tree7d1127146241969436ccba57bb541688ffcba65a
parenta16a3eddd411293dbee6a925c7f02258a186e28b
MIPS: branch: Remove FP branch handling when CONFIG_MIPS_FP_SUPPORT=n

When CONFIG_MIPS_FP_SUPPORT=n we don't support floating point, so remove
the floating point branch support from __compute_return_epc_for_insn() &
__mm_isBranchInstr(). This code should never be needed & more
importantly relies upon FPU state in struct task_struct which will later
be removed.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21017/
Cc: linux-mips@linux-mips.org
arch/mips/kernel/branch.c