diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-06 12:32:05 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-02-06 12:32:05 +0800 |
commit | b3ff2d9c3a9c64cd0a011cdd407ffc38a6ea8788 (patch) | |
tree | 85c3d62d2b0f174a7f41e344976fce3e60bedb05 /arch | |
parent | 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478 (diff) | |
download | linux-b3ff2d9c3a9c64cd0a011cdd407ffc38a6ea8788.tar.gz linux-b3ff2d9c3a9c64cd0a011cdd407ffc38a6ea8788.tar.bz2 linux-b3ff2d9c3a9c64cd0a011cdd407ffc38a6ea8788.zip |
LoongArch: Select ARCH_ENABLE_THP_MIGRATION instead of redefining it
ARCH_ENABLE_THP_MIGRATION is supposed to be selected by arch Kconfig.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/loongarch/Kconfig | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig index 10959e6c3583..64e9a01c7f36 100644 --- a/arch/loongarch/Kconfig +++ b/arch/loongarch/Kconfig @@ -12,6 +12,7 @@ config LOONGARCH select ARCH_DISABLE_KASAN_INLINE select ARCH_ENABLE_MEMORY_HOTPLUG select ARCH_ENABLE_MEMORY_HOTREMOVE + select ARCH_ENABLE_THP_MIGRATION if TRANSPARENT_HUGEPAGE select ARCH_HAS_ACPI_TABLE_UPGRADE if ACPI select ARCH_HAS_CPU_FINALIZE_INIT select ARCH_HAS_FORTIFY_SOURCE @@ -667,10 +668,6 @@ config ARCH_SPARSEMEM_ENABLE or have huge holes in the physical address space for other reasons. See <file:Documentation/mm/numa.rst> for more. -config ARCH_ENABLE_THP_MIGRATION - def_bool y - depends on TRANSPARENT_HUGEPAGE - config ARCH_MEMORY_PROBE def_bool y depends on MEMORY_HOTPLUG |