MIPS: Loongson32: Fix config brokenness; select SYS_SUPPORTS_32BIT_KERNEL
authorPaul Burton <paul.burton@mips.com>
Mon, 4 Feb 2019 22:33:06 +0000 (14:33 -0800)
committerPaul Burton <paul.burton@mips.com>
Mon, 4 Feb 2019 22:44:06 +0000 (14:44 -0800)
commitd6c2fba5e7ddea07804cd94bce575d9ad0999a5b
tree23958cabaefd2fce36647fc210a59eb539224fe0
parent9ae1f262cd482f9ff28d179883f9e281d578e6ec
MIPS: Loongson32: Fix config brokenness; select SYS_SUPPORTS_32BIT_KERNEL

Commit a96d68ba3b41 ("MIPS: Loongson32: clarify we don't support MIPS16
and merge configs") attempted to reduce duplication in Kconfig by
consolidating some selects common to Loongson 1B & 1C CPUs under
CPU_LOONGSON1. Unfortunately it clearly wasn't tested because by
removing SYS_SUPPORTS_32BIT_KERNEL it prevented 32BIT from being enabled
leading to all sorts of strange build errors from a kernel configured to
build as neither 32 nor 64 bit.

Both loongson1b_defconfig & loongson1c_defconfig failed to build due to
this problem.

Revert the cleanup portions of commit a96d68ba3b41 ("MIPS: Loongson32:
clarify we don't support MIPS16 and merge configs"), keeping only its
removal of the selection of SYS_SUPPORTS_MIPS16.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Fixes: a96d68ba3b41 ("MIPS: Loongson32: clarify we don't support MIPS16 and merge configs")
arch/mips/Kconfig
arch/mips/loongson32/Kconfig