powerpc/hugetlb: enable hugetlb migration for ppc64
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
Link http://lkml.kernel.org/r/1494926612-23928-10-git-send-email-aneesh.kumar@linux.vnet.ibm.com open here
Signed-off-by Aneesh Kumar K.V <[email protected]>
Cc Anshuman Khandual <[email protected]>
Cc Naoya Horiguchi <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Benjamin Herrenschmidt <[email protected]>
Cc Mike Kravetz <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
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
@@ -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
_