Merge branch 'asoc-5.0' into asoc-5.1 for dapm table
[linux-2.6-block.git] / arch / powerpc / include / asm / book3s / 64 / mmu.h
index 6328857f259f5b0abe0bf56fd88c4999d012cf80..1ceee000c18d7e6b9efc84a831c2c4ebc915405a 100644 (file)
@@ -2,6 +2,8 @@
 #ifndef _ASM_POWERPC_BOOK3S_64_MMU_H_
 #define _ASM_POWERPC_BOOK3S_64_MMU_H_
 
+#include <asm/page.h>
+
 #ifndef __ASSEMBLY__
 /*
  * Page size definition
@@ -24,6 +26,13 @@ struct mmu_psize_def {
 };
 extern struct mmu_psize_def mmu_psize_defs[MMU_PAGE_COUNT];
 
+/*
+ * For BOOK3s 64 with 4k and 64K linux page size
+ * we want to use pointers, because the page table
+ * actually store pfn
+ */
+typedef pte_t *pgtable_t;
+
 #endif /* __ASSEMBLY__ */
 
 /* 64-bit classic hash table MMU */