Skip to content

Commit fb8e9f5

Browse files
Avenger-285714chenhuacai
authored andcommitted
LoongArch: Select ARCH_USE_MEMTEST
As of commit dce4456 ("mm/memtest: add ARCH_USE_MEMTEST"), architectures must select ARCH_USE_MEMTESET to enable CONFIG_MEMTEST. Commit 628c3bb ("LoongArch: Add boot and setup routines") added support for early_memtest but did not select ARCH_USE_MEMTESET. Fixes: 628c3bb ("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>
1 parent 9c32cda commit fb8e9f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/loongarch/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ config LOONGARCH
7373
select ARCH_SUPPORTS_RT
7474
select ARCH_USE_BUILTIN_BSWAP
7575
select ARCH_USE_CMPXCHG_LOCKREF
76+
select ARCH_USE_MEMTEST
7677
select ARCH_USE_QUEUED_RWLOCKS
7778
select ARCH_USE_QUEUED_SPINLOCKS
7879
select ARCH_WANT_DEFAULT_BPF_JIT

0 commit comments

Comments
 (0)