diff options
Diffstat (limited to 'arch/powerpc/include/asm/page_32.h')
-rw-r--r-- | arch/powerpc/include/asm/page_32.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/page_32.h b/arch/powerpc/include/asm/page_32.h index ebfae530a379..d77072a32cc6 100644 --- a/arch/powerpc/include/asm/page_32.h +++ b/arch/powerpc/include/asm/page_32.h | |||
@@ -13,10 +13,16 @@ | |||
13 | #define ARCH_KMALLOC_MINALIGN L1_CACHE_BYTES | 13 | #define ARCH_KMALLOC_MINALIGN L1_CACHE_BYTES |
14 | #endif | 14 | #endif |
15 | 15 | ||
16 | #ifdef CONFIG_PTE_64BIT | ||
17 | #define PTE_FLAGS_OFFSET 4 /* offset of PTE flags, in bytes */ | ||
18 | #else | ||
19 | #define PTE_FLAGS_OFFSET 0 | ||
20 | #endif | ||
21 | |||
16 | #ifndef __ASSEMBLY__ | 22 | #ifndef __ASSEMBLY__ |
17 | /* | 23 | /* |
18 | * The basic type of a PTE - 64 bits for those CPUs with > 32 bit | 24 | * The basic type of a PTE - 64 bits for those CPUs with > 32 bit |
19 | * physical addressing. For now this just the IBM PPC440. | 25 | * physical addressing. |
20 | */ | 26 | */ |
21 | #ifdef CONFIG_PTE_64BIT | 27 | #ifdef CONFIG_PTE_64BIT |
22 | typedef unsigned long long pte_basic_t; | 28 | typedef unsigned long long pte_basic_t; |