On 12.03.21 15:12, Geert Uytterhoeven wrote:
Commit 214496cb18700fd7 ("ia64: make SPARSEMEM default and disable
DISCONTIGMEM") removed the last enabler of ARCH_DISCONTIGMEM_DEFAULT,
hence the memory model can no longer default to DISCONTIGMEM_MANUAL.

Signed-off-by: Geert Uytterhoeven <[email protected]>
---
DISCONTIGMEM_MANUAL depends on ARCH_DISCONTIGMEM_ENABLE, which in turns
depends on BROKEN, so probably all discontig memory support can be
removed, too?
---
  mm/Kconfig | 1 -
  1 file changed, 1 deletion(-)

diff --git a/mm/Kconfig b/mm/Kconfig
index 24c045b24b95069b..579254f10fb1bac6 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -9,7 +9,6 @@ config SELECT_MEMORY_MODEL
  choice
        prompt "Memory model"
        depends on SELECT_MEMORY_MODEL
-       default DISCONTIGMEM_MANUAL if ARCH_DISCONTIGMEM_DEFAULT
        default SPARSEMEM_MANUAL if ARCH_SPARSEMEM_DEFAULT
        default FLATMEM_MANUAL
        help


Reviewed-by: David Hildenbrand <[email protected]>

--
Thanks,

David / dhildenb

Reply via email to