Skip to contentSkip to conversation

powerpc/hugetlb: enable hugetlb migration for ppc64

PATCH New [email protected] 1 participant 1 message Jul 6, 2017 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 70/108 powerpc/hugetlb: enable hugetlb migration for ppc64

From: "Aneesh Kumar K.V" <[email protected]>
Subject: powerpc/hugetlb: enable hugetlb migration for ppc64

---

 arch/powerpc/platforms/Kconfig.cputype |    5 +++++
 1 file changed, 5 insertions(+)
arch/powerpc/platforms/Kconfig.cputype renamed from arch/powerpc/platforms/Kconfig.cputype~powerpc-hugetlb-enable-hugetlb-migration-for-ppc64 +5 -0
diff -puN arch/powerpc/platforms/Kconfig.cputype~powerpc-hugetlb-enable-hugetlb-migration-for-ppc64 arch/powerpc/platforms/Kconfig.cputype
@@ -350,6 +350,11 @@ config PPC_RADIX_MMU
 	  is only implemented by IBM Power9 CPUs, if you don't have one of them
 	  you can probably disable this.
 
+config ARCH_ENABLE_HUGEPAGE_MIGRATION
+	def_bool y
+	depends on PPC_BOOK3S_64 && HUGETLB_PAGE && MIGRATION
+
+
 config PPC_MMU_NOHASH
 	def_bool y
 	depends on !PPC_STD_MMU

_