diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/include/asm/pgtable_32.h | 3 | ||||
-rw-r--r-- | arch/sh/include/asm/pgtable_64.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/arch/sh/include/asm/pgtable_32.h b/arch/sh/include/asm/pgtable_32.h index e172d696e52b..69fdfbf14ea5 100644 --- a/arch/sh/include/asm/pgtable_32.h +++ b/arch/sh/include/asm/pgtable_32.h | |||
@@ -429,10 +429,7 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) | |||
429 | #define pte_offset_kernel(dir, address) \ | 429 | #define pte_offset_kernel(dir, address) \ |
430 | ((pte_t *) pmd_page_vaddr(*(dir)) + pte_index(address)) | 430 | ((pte_t *) pmd_page_vaddr(*(dir)) + pte_index(address)) |
431 | #define pte_offset_map(dir, address) pte_offset_kernel(dir, address) | 431 | #define pte_offset_map(dir, address) pte_offset_kernel(dir, address) |
432 | #define pte_offset_map_nested(dir, address) pte_offset_kernel(dir, address) | ||
433 | |||
434 | #define pte_unmap(pte) do { } while (0) | 432 | #define pte_unmap(pte) do { } while (0) |
435 | #define pte_unmap_nested(pte) do { } while (0) | ||
436 | 433 | ||
437 | #ifdef CONFIG_X2TLB | 434 | #ifdef CONFIG_X2TLB |
438 | #define pte_ERROR(e) \ | 435 | #define pte_ERROR(e) \ |
diff --git a/arch/sh/include/asm/pgtable_64.h b/arch/sh/include/asm/pgtable_64.h index 0ee46776dad6..10a48111226d 100644 --- a/arch/sh/include/asm/pgtable_64.h +++ b/arch/sh/include/asm/pgtable_64.h | |||
@@ -84,9 +84,7 @@ static __inline__ void set_pte(pte_t *pteptr, pte_t pteval) | |||
84 | ((pte_t *) ((pmd_val(*(dir))) & PAGE_MASK) + pte_index((addr))) | 84 | ((pte_t *) ((pmd_val(*(dir))) & PAGE_MASK) + pte_index((addr))) |
85 | 85 | ||
86 | #define pte_offset_map(dir,addr) pte_offset_kernel(dir, addr) | 86 | #define pte_offset_map(dir,addr) pte_offset_kernel(dir, addr) |
87 | #define pte_offset_map_nested(dir,addr) pte_offset_kernel(dir, addr) | ||
88 | #define pte_unmap(pte) do { } while (0) | 87 | #define pte_unmap(pte) do { } while (0) |
89 | #define pte_unmap_nested(pte) do { } while (0) | ||
90 | 88 | ||
91 | #ifndef __ASSEMBLY__ | 89 | #ifndef __ASSEMBLY__ |
92 | #define IOBASE_VADDR 0xff000000 | 90 | #define IOBASE_VADDR 0xff000000 |