diff options
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/include/asm/pgtable.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/cris/include/asm/pgtable.h b/arch/cris/include/asm/pgtable.h index f63d6fccbc6c..9eaae217b21b 100644 --- a/arch/cris/include/asm/pgtable.h +++ b/arch/cris/include/asm/pgtable.h | |||
@@ -248,10 +248,8 @@ static inline pgd_t * pgd_offset(const struct mm_struct *mm, unsigned long addre | |||
248 | ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address)) | 248 | ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address)) |
249 | #define pte_offset_map(dir, address) \ | 249 | #define pte_offset_map(dir, address) \ |
250 | ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address)) | 250 | ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address)) |
251 | #define pte_offset_map_nested(dir, address) pte_offset_map(dir, address) | ||
252 | 251 | ||
253 | #define pte_unmap(pte) do { } while (0) | 252 | #define pte_unmap(pte) do { } while (0) |
254 | #define pte_unmap_nested(pte) do { } while (0) | ||
255 | #define pte_pfn(x) ((unsigned long)(__va((x).pte)) >> PAGE_SHIFT) | 253 | #define pte_pfn(x) ((unsigned long)(__va((x).pte)) >> PAGE_SHIFT) |
256 | #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) | 254 | #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) |
257 | 255 | ||