aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/pgtable-32.h3
-rw-r--r--arch/mips/include/asm/pgtable-64.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/include/asm/pgtable-32.h b/arch/mips/include/asm/pgtable-32.h
index ae90412556d0..8a153d2fa62a 100644
--- a/arch/mips/include/asm/pgtable-32.h
+++ b/arch/mips/include/asm/pgtable-32.h
@@ -154,10 +154,7 @@ pfn_pte(unsigned long pfn, pgprot_t prot)
154 154
155#define pte_offset_map(dir, address) \ 155#define pte_offset_map(dir, address) \
156 ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address)) 156 ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address))
157#define pte_offset_map_nested(dir, address) \
158 ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address))
159#define pte_unmap(pte) ((void)(pte)) 157#define pte_unmap(pte) ((void)(pte))
160#define pte_unmap_nested(pte) ((void)(pte))
161 158
162#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX) 159#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX)
163 160
diff --git a/arch/mips/include/asm/pgtable-64.h b/arch/mips/include/asm/pgtable-64.h
index 1be4b0fa30da..f00896087dda 100644
--- a/arch/mips/include/asm/pgtable-64.h
+++ b/arch/mips/include/asm/pgtable-64.h
@@ -257,10 +257,7 @@ static inline pmd_t *pmd_offset(pud_t * pud, unsigned long address)
257 ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address)) 257 ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address))
258#define pte_offset_map(dir, address) \ 258#define pte_offset_map(dir, address) \
259 ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address)) 259 ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address))
260#define pte_offset_map_nested(dir, address) \
261 ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address))
262#define pte_unmap(pte) ((void)(pte)) 260#define pte_unmap(pte) ((void)(pte))
263#define pte_unmap_nested(pte) ((void)(pte))
264 261
265/* 262/*
266 * Initialize a new pgd / pmd table with invalid pointers. 263 * Initialize a new pgd / pmd table with invalid pointers.