diff options
Diffstat (limited to 'include/asm-powerpc/pgtable.h')
| -rw-r--r-- | include/asm-powerpc/pgtable.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/asm-powerpc/pgtable.h b/include/asm-powerpc/pgtable.h index 964e312a1ffc..8dbf5ad8150f 100644 --- a/include/asm-powerpc/pgtable.h +++ b/include/asm-powerpc/pgtable.h | |||
| @@ -46,8 +46,8 @@ struct mm_struct; | |||
| 46 | /* | 46 | /* |
| 47 | * Define the address range of the vmalloc VM area. | 47 | * Define the address range of the vmalloc VM area. |
| 48 | */ | 48 | */ |
| 49 | #define VMALLOC_START (0xD000000000000000ul) | 49 | #define VMALLOC_START ASM_CONST(0xD000000000000000) |
| 50 | #define VMALLOC_SIZE (0x80000000000UL) | 50 | #define VMALLOC_SIZE ASM_CONST(0x80000000000) |
| 51 | #define VMALLOC_END (VMALLOC_START + VMALLOC_SIZE) | 51 | #define VMALLOC_END (VMALLOC_START + VMALLOC_SIZE) |
| 52 | 52 | ||
| 53 | /* | 53 | /* |
| @@ -412,12 +412,6 @@ static inline void set_pte_at(struct mm_struct *mm, unsigned long addr, | |||
| 412 | flush_tlb_pending(); | 412 | flush_tlb_pending(); |
| 413 | } | 413 | } |
| 414 | pte = __pte(pte_val(pte) & ~_PAGE_HPTEFLAGS); | 414 | pte = __pte(pte_val(pte) & ~_PAGE_HPTEFLAGS); |
| 415 | |||
| 416 | #ifdef CONFIG_PPC_64K_PAGES | ||
| 417 | if (mmu_virtual_psize != MMU_PAGE_64K) | ||
| 418 | pte = __pte(pte_val(pte) | _PAGE_COMBO); | ||
| 419 | #endif /* CONFIG_PPC_64K_PAGES */ | ||
| 420 | |||
| 421 | *ptep = pte; | 415 | *ptep = pte; |
| 422 | } | 416 | } |
| 423 | 417 | ||
