diff options
Diffstat (limited to 'arch/mips/include/asm/pgtable.h')
| -rw-r--r-- | arch/mips/include/asm/pgtable.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/mips/include/asm/pgtable.h b/arch/mips/include/asm/pgtable.h index d6eb6134abec..1854336e56a2 100644 --- a/arch/mips/include/asm/pgtable.h +++ b/arch/mips/include/asm/pgtable.h | |||
| @@ -390,6 +390,19 @@ static inline int io_remap_pfn_range(struct vm_area_struct *vma, | |||
| 390 | #include <asm-generic/pgtable.h> | 390 | #include <asm-generic/pgtable.h> |
| 391 | 391 | ||
| 392 | /* | 392 | /* |
| 393 | * uncached accelerated TLB map for video memory access | ||
| 394 | */ | ||
| 395 | #ifdef CONFIG_CPU_SUPPORTS_UNCACHED_ACCELERATED | ||
| 396 | #define __HAVE_PHYS_MEM_ACCESS_PROT | ||
| 397 | |||
| 398 | struct file; | ||
| 399 | pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, | ||
| 400 | unsigned long size, pgprot_t vma_prot); | ||
| 401 | int phys_mem_access_prot_allowed(struct file *file, unsigned long pfn, | ||
| 402 | unsigned long size, pgprot_t *vma_prot); | ||
| 403 | #endif | ||
| 404 | |||
| 405 | /* | ||
| 393 | * We provide our own get_unmapped area to cope with the virtual aliasing | 406 | * We provide our own get_unmapped area to cope with the virtual aliasing |
| 394 | * constraints placed on us by the cache architecture. | 407 | * constraints placed on us by the cache architecture. |
| 395 | */ | 408 | */ |
