]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
LoongArch: Select HAVE_ARCH_BITREVERSE in Kconfig
authorXi Ruoyao <xry111@xry111.site>
Sat, 6 Dec 2025 02:39:39 +0000 (10:39 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 6 Dec 2025 02:39:39 +0000 (10:39 +0800)
Without HAVE_ARCH_BITREVERSE, the architecture-optimized bit reverse
implementations in arch/loongarch/include/asm/bitrev.h are not used at
all.

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/Kconfig

index 5b1116733d881bc2b1b43fb93f20367add4dbc54..a672f689cb0394184b8494cdfadd7edcd09f93c4 100644 (file)
@@ -115,6 +115,7 @@ config LOONGARCH
        select GPIOLIB
        select HAS_IOPORT
        select HAVE_ARCH_AUDITSYSCALL
+       select HAVE_ARCH_BITREVERSE
        select HAVE_ARCH_JUMP_LABEL
        select HAVE_ARCH_JUMP_LABEL_RELATIVE
        select HAVE_ARCH_KASAN