powerpc/mm: move pgtable_t in asm/mmu.h
pgtable_t is now identical for all subarches, move it to the top level asm/mmu.h Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
737b434d3d
commit
696dffa24b
@@ -10,8 +10,6 @@
|
||||
* BATs
|
||||
*/
|
||||
|
||||
#include <asm/page.h>
|
||||
|
||||
/* Block size masks */
|
||||
#define BL_128K 0x000
|
||||
#define BL_256K 0x001
|
||||
@@ -49,8 +47,6 @@ struct ppc_bat {
|
||||
u32 batu;
|
||||
u32 batl;
|
||||
};
|
||||
|
||||
typedef pte_t *pgtable_t;
|
||||
#endif /* !__ASSEMBLY__ */
|
||||
|
||||
/*
|
||||
|
@@ -25,14 +25,6 @@ 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__ */
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user