Commit f7fb506f authored by Aneesh Kumar K.V's avatar Aneesh Kumar K.V Committed by Linus Torvalds
Browse files

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


Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Mike Kravetz <kravetz@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 28c05716
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -350,6 +350,11 @@ config PPC_RADIX_MMU
	  is only implemented by IBM Power9 CPUs, if you don't have one of them
	  is only implemented by IBM Power9 CPUs, if you don't have one of them
	  you can probably disable this.
	  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
config PPC_MMU_NOHASH
	def_bool y
	def_bool y
	depends on !PPC_STD_MMU
	depends on !PPC_STD_MMU