diff options
author | Paul Burton <paul.burton@imgtec.com> | 2017-03-30 13:51:59 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-04-12 21:37:43 +0200 |
commit | ca452b95e3be1cbd86ee60165de640d27ddca8b7 (patch) | |
tree | eb5421ac1fa48ed630c557f5230206b0652f2ffc /arch/mips/Kconfig | |
parent | f110cc4f9b2b456501c839d02412544c9656c2cc (diff) | |
download | linux-stable-ca452b95e3be1cbd86ee60165de640d27ddca8b7.tar.gz linux-stable-ca452b95e3be1cbd86ee60165de640d27ddca8b7.tar.bz2 linux-stable-ca452b95e3be1cbd86ee60165de640d27ddca8b7.zip |
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>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 52d81ca6f74e..1f8ebdf75734 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -1042,14 +1042,6 @@ config RWSEM_GENERIC_SPINLOCK config RWSEM_XCHGADD_ALGORITHM bool -config ARCH_HAS_ILOG2_U32 - bool - default n - -config ARCH_HAS_ILOG2_U64 - bool - default n - config GENERIC_HWEIGHT bool default y |