summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuli Wang <wangyuli@uniontech.com>2025-04-24 15:15:22 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2025-04-26 04:58:12 +0300
commitfb8e9f59d6f292c3d9fea6c155c22ea5fc3053ab (patch)
treee8b2cdcfeadd819049bf468c98ff737620da81c3
parent9c32cda43eb78f78c73aee4aa344b777714e259b (diff)
downloadlinux-fb8e9f59d6f292c3d9fea6c155c22ea5fc3053ab.tar.xz
LoongArch: Select ARCH_USE_MEMTEST
As of commit dce44566192e ("mm/memtest: add ARCH_USE_MEMTEST"), architectures must select ARCH_USE_MEMTESET to enable CONFIG_MEMTEST. Commit 628c3bb40e9a ("LoongArch: Add boot and setup routines") added support for early_memtest but did not select ARCH_USE_MEMTESET. Fixes: 628c3bb40e9a ("LoongArch: Add boot and setup routines") Tested-by: Erpeng Xu <xuerpeng@uniontech.com> Tested-by: Yuli Wang <wangyuli@uniontech.com> Signed-off-by: Yuli Wang <wangyuli@uniontech.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
-rw-r--r--arch/loongarch/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig
index 067c0b994648..1a2cf012b8f2 100644
--- a/arch/loongarch/Kconfig
+++ b/arch/loongarch/Kconfig
@@ -73,6 +73,7 @@ config LOONGARCH
select ARCH_SUPPORTS_RT
select ARCH_USE_BUILTIN_BSWAP
select ARCH_USE_CMPXCHG_LOCKREF
+ select ARCH_USE_MEMTEST
select ARCH_USE_QUEUED_RWLOCKS
select ARCH_USE_QUEUED_SPINLOCKS
select ARCH_WANT_DEFAULT_BPF_JIT