Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Remove CONFIG_ARCH_HAS_ILOG2_U{32,64}

We declare CONFIG_ARCH_HAS_ILOG2_U32 & CONFIG_ARCH_HAS_ILOG2_U64 in
Kconfig, but they are always false since nothing ever selects them. The
generic fls-based implementation is efficient for MIPS anyway. Remove
the redundant Kconfig entries.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: trivial@kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/15840/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Paul Burton and committed by
Ralf Baechle
ca452b95 f110cc4f

-8
-8
arch/mips/Kconfig
··· 1042 1042 config RWSEM_XCHGADD_ALGORITHM 1043 1043 bool 1044 1044 1045 - config ARCH_HAS_ILOG2_U32 1046 - bool 1047 - default n 1048 - 1049 - config ARCH_HAS_ILOG2_U64 1050 - bool 1051 - default n 1052 - 1053 1045 config GENERIC_HWEIGHT 1054 1046 bool 1055 1047 default y