[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180706155627.23937-1-nkela@cisco.com>
Date: Fri, 6 Jul 2018 08:56:27 -0700
From: Nikunj Kela <nkela@...co.com>
To: Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>
Cc: xe-kernel@...ernal.cisco.com, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] arm64: add ARM64-specific support for flatmem
Cc: xe-kernel@...ernal.cisco.com
Cc: Nikunj Kela <nkela@...co.com>
Signed-off-by: Nikunj Kela <nkela@...co.com>
---
arch/arm64/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 42c090c..5e791f0 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -775,6 +775,10 @@ config ARCH_SPARSEMEM_DEFAULT
config ARCH_SELECT_MEMORY_MODEL
def_bool ARCH_SPARSEMEM_ENABLE
+config ARCH_FLATMEM_ENABLE
+ def_bool y
+ depends on ARM64 && !NUMA
+
config HAVE_ARCH_PFN_VALID
def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
--
2.10.3.dirty
Powered by blists - more mailing lists