[RFC PATCH V1 17/33] mm: Change pmd_huge_pte type in mm_struct

From
Aneesh Kumar K.V <hidden>
Date
2016-01-12 07:16:45
Reply to
Aneesh Kumar K.V, 2016-01-12
We need this to be the pte page not the pgtable_t

Signed-off-by: Aneesh Kumar K.V <redacted>
---
 include/linux/mm_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
index c67ea476991e..c9a1ebec07c4 100644
--- a/include/linux/mm_types.h
+++ b/include/linux/mm_types.h
@@ -474,7 +474,7 @@ struct mm_struct {
 	struct mmu_notifier_mm *mmu_notifier_mm;
 #endif
 #if defined(CONFIG_TRANSPARENT_HUGEPAGE) && !USE_SPLIT_PMD_PTLOCKS
-	pgtable_t pmd_huge_pte; /* protected by page_table_lock */
+	struct page *pmd_huge_pte; /* protected by page_table_lock */
 #endif
 #ifdef CONFIG_CPUMASK_OFFSTACK
 	struct cpumask cpumask_allocation;
-- 
2.5.0
Thread (45 messages) 45 messages, 4 authors, last reply 2016-01-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help