]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: Remove CONFIG_ARCH_HAS_ILOG2_U{32,64}
authorPaul Burton <paul.burton@imgtec.com>
Thu, 30 Mar 2017 20:51:59 +0000 (13:51 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 12 Apr 2017 19:37:43 +0000 (21:37 +0200)
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>
arch/mips/Kconfig

index 52d81ca6f74e8bdef2b9b563ac2b3fad9720d3a0..1f8ebdf75734feae43d555153f2277d173d2bbe9 100644 (file)
@@ -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