summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2026-04-22 15:44:26 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-04-22 15:44:26 +0800
commit3d9aba6618d115750729bba2d1f8af180bd7d3bd (patch)
tree0505c44666e4029d4547eaf7eef3450225f5371b /lib
parent028ef9c96e96197026887c0f092424679298aae8 (diff)
LoongArch: Adjust build infrastructure for 32BIT/64BIT
Adjust build infrastructure (Kconfig, Makefile and ld scripts) to let us enable both 32BIT/64BIT kernel build. Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'lib')
-rw-r--r--lib/crc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crc/Kconfig b/lib/crc/Kconfig
index 70e7a6016de3..5bf613405fdd 100644
--- a/lib/crc/Kconfig
+++ b/lib/crc/Kconfig
@@ -65,7 +65,7 @@ config CRC32_ARCH
depends on CRC32 && CRC_OPTIMIZATIONS
default y if ARM && KERNEL_MODE_NEON
default y if ARM64
- default y if LOONGARCH
+ default y if LOONGARCH && 64BIT
default y if MIPS && CPU_MIPSR6
default y if PPC64 && ALTIVEC
default y if RISCV && RISCV_ISA_ZBC