]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Allow compact branch policy to be changed
authorPaul Burton <paul.burton@imgtec.com>
Tue, 22 Sep 2015 17:07:41 +0000 (10:07 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Oct 2015 08:49:40 +0000 (09:49 +0100)
commitdcb05732314f7c1f13a6d2484b2d5697a62b4e47
tree164b0f0d9277c233eea8eccb2baa8bb60ec3cf0f
parent2d0d72af6b1762d5809f9a1d64772cf0c37f1d4c
MIPS: Allow compact branch policy to be changed

When debugging it can be helpful to change the policy for compiler use
of MIPSr6 compact branches, in order to rule out or home in on their
involvement in bugs. Allow the GCC -mcompact-branches= flag to be set
via Kconfig under the "Kernel hacking" menu.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11178/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig.debug
arch/mips/Makefile