]> git.ipfire.org Git - thirdparty/kernel/linux.git/blobdiff - arch/ppc64/Kconfig
[PATCH] sparsemem swiss cheese numa layouts
[thirdparty/kernel/linux.git] / arch / ppc64 / Kconfig
index 011b5c0bf1d03f1c9f1d96c8421669e6f1b7a018..85f8fcf44b6c728e465d4c64dd6d6325b7129027 100644 (file)
@@ -211,6 +211,18 @@ config ARCH_FLATMEM_ENABLE
 
 source "mm/Kconfig"
 
+# Some NUMA nodes have memory ranges that span
+# other nodes.  Even though a pfn is valid and
+# between a node's start and end pfns, it may not
+# reside on that node.
+#
+# This is a relatively temporary hack that should
+# be able to go away when sparsemem is fully in
+# place
+config NODES_SPAN_OTHER_NODES
+       def_bool y
+       depends on NEED_MULTIPLE_NODES
+
 config NUMA
        bool "NUMA support"
        depends on DISCONTIGMEM