|
@@ -23,7 +23,8 @@
|
|
H_PUD_INDEX_SIZE + H_PGD_INDEX_SIZE + PAGE_SHIFT)
|
|
H_PUD_INDEX_SIZE + H_PGD_INDEX_SIZE + PAGE_SHIFT)
|
|
#define H_PGTABLE_RANGE (ASM_CONST(1) << H_PGTABLE_EADDR_SIZE)
|
|
#define H_PGTABLE_RANGE (ASM_CONST(1) << H_PGTABLE_EADDR_SIZE)
|
|
|
|
|
|
-#if defined(CONFIG_TRANSPARENT_HUGEPAGE) && defined(CONFIG_PPC_64K_PAGES)
|
|
|
|
|
|
+#if (defined(CONFIG_TRANSPARENT_HUGEPAGE) || defined(CONFIG_HUGETLB_PAGE)) && \
|
|
|
|
+ defined(CONFIG_PPC_64K_PAGES)
|
|
/*
|
|
/*
|
|
* only with hash 64k we need to use the second half of pmd page table
|
|
* only with hash 64k we need to use the second half of pmd page table
|
|
* to store pointer to deposited pgtable_t
|
|
* to store pointer to deposited pgtable_t
|