diff options
Diffstat (limited to 'arch/tile/include/asm/pgtable.h')
-rw-r--r-- | arch/tile/include/asm/pgtable.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/tile/include/asm/pgtable.h b/arch/tile/include/asm/pgtable.h index b3367379d537..dc4ccdd855bc 100644 --- a/arch/tile/include/asm/pgtable.h +++ b/arch/tile/include/asm/pgtable.h | |||
@@ -347,15 +347,10 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) | |||
347 | extern pte_t *_pte_offset_map(pmd_t *, unsigned long address, enum km_type); | 347 | extern pte_t *_pte_offset_map(pmd_t *, unsigned long address, enum km_type); |
348 | #define pte_offset_map(dir, address) \ | 348 | #define pte_offset_map(dir, address) \ |
349 | _pte_offset_map(dir, address, KM_PTE0) | 349 | _pte_offset_map(dir, address, KM_PTE0) |
350 | #define pte_offset_map_nested(dir, address) \ | ||
351 | _pte_offset_map(dir, address, KM_PTE1) | ||
352 | #define pte_unmap(pte) kunmap_atomic(pte, KM_PTE0) | 350 | #define pte_unmap(pte) kunmap_atomic(pte, KM_PTE0) |
353 | #define pte_unmap_nested(pte) kunmap_atomic(pte, KM_PTE1) | ||
354 | #else | 351 | #else |
355 | #define pte_offset_map(dir, address) pte_offset_kernel(dir, address) | 352 | #define pte_offset_map(dir, address) pte_offset_kernel(dir, address) |
356 | #define pte_offset_map_nested(dir, address) pte_offset_map(dir, address) | ||
357 | #define pte_unmap(pte) do { } while (0) | 353 | #define pte_unmap(pte) do { } while (0) |
358 | #define pte_unmap_nested(pte) do { } while (0) | ||
359 | #endif | 354 | #endif |
360 | 355 | ||
361 | /* Clear a non-executable kernel PTE and flush it from the TLB. */ | 356 | /* Clear a non-executable kernel PTE and flush it from the TLB. */ |