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)
commitc1a0e9bc885d46e519fd87d35af6a7937abfb986
tree164b0f0d9277c233eea8eccb2baa8bb60ec3cf0f
parent05513992c69d159e698bb4b5f651abd0ceff525c
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