|
@@ -1,14 +1,14 @@
|
|
-#ifndef _ASM_POWERPC_PGTABLE_PPC64_H_
|
|
|
|
-#define _ASM_POWERPC_PGTABLE_PPC64_H_
|
|
|
|
|
|
+#ifndef _ASM_POWERPC_NOHASH_64_PGTABLE_H
|
|
|
|
+#define _ASM_POWERPC_NOHASH_64_PGTABLE_H
|
|
/*
|
|
/*
|
|
* This file contains the functions and defines necessary to modify and use
|
|
* This file contains the functions and defines necessary to modify and use
|
|
* the ppc64 hashed page table.
|
|
* the ppc64 hashed page table.
|
|
*/
|
|
*/
|
|
|
|
|
|
#ifdef CONFIG_PPC_64K_PAGES
|
|
#ifdef CONFIG_PPC_64K_PAGES
|
|
-#include <asm/pgtable-ppc64-64k.h>
|
|
|
|
|
|
+#include <asm/nohash/64/pgtable-64k.h>
|
|
#else
|
|
#else
|
|
-#include <asm/pgtable-ppc64-4k.h>
|
|
|
|
|
|
+#include <asm/nohash/64/pgtable-4k.h>
|
|
#endif
|
|
#endif
|
|
#include <asm/barrier.h>
|
|
#include <asm/barrier.h>
|
|
|
|
|
|
@@ -18,7 +18,7 @@
|
|
* Size of EA range mapped by our pagetables.
|
|
* Size of EA range mapped by our pagetables.
|
|
*/
|
|
*/
|
|
#define PGTABLE_EADDR_SIZE (PTE_INDEX_SIZE + PMD_INDEX_SIZE + \
|
|
#define PGTABLE_EADDR_SIZE (PTE_INDEX_SIZE + PMD_INDEX_SIZE + \
|
|
- PUD_INDEX_SIZE + PGD_INDEX_SIZE + PAGE_SHIFT)
|
|
|
|
|
|
+ PUD_INDEX_SIZE + PGD_INDEX_SIZE + PAGE_SHIFT)
|
|
#define PGTABLE_RANGE (ASM_CONST(1) << PGTABLE_EADDR_SIZE)
|
|
#define PGTABLE_RANGE (ASM_CONST(1) << PGTABLE_EADDR_SIZE)
|
|
|
|
|
|
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
|
|
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
|
|
@@ -97,7 +97,7 @@
|
|
/*
|
|
/*
|
|
* Include the PTE bits definitions
|
|
* Include the PTE bits definitions
|
|
*/
|
|
*/
|
|
-#include <asm/pte-book3e.h>
|
|
|
|
|
|
+#include <asm/nohash/pte-book3e.h>
|
|
#include <asm/pte-common.h>
|
|
#include <asm/pte-common.h>
|
|
|
|
|
|
#ifdef CONFIG_PPC_MM_SLICES
|
|
#ifdef CONFIG_PPC_MM_SLICES
|
|
@@ -637,4 +637,4 @@ static inline int pmd_move_must_withdraw(struct spinlock *new_pmd_ptl,
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
#endif /* __ASSEMBLY__ */
|
|
#endif /* __ASSEMBLY__ */
|
|
-#endif /* _ASM_POWERPC_PGTABLE_PPC64_H_ */
|
|
|
|
|
|
+#endif /* _ASM_POWERPC_NOHASH_64_PGTABLE_H */
|