diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-11 12:13:10 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-29 04:46:35 -0400 |
commit | 40d158e61840fbbe23be3f37302a3ca237c15491 (patch) | |
tree | 0421101a49c3a8e639437a6fb8a162b2bcc077ea /arch/xtensa | |
parent | 605c912bb843c024b1ed173dc427cd5c08e5d54d (diff) |
consolidate io_remap_pfn_range definitions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/include/asm/pgtable.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/xtensa/include/asm/pgtable.h b/arch/xtensa/include/asm/pgtable.h index d7546c94da52..8f017eb309bd 100644 --- a/arch/xtensa/include/asm/pgtable.h +++ b/arch/xtensa/include/asm/pgtable.h | |||
@@ -393,14 +393,6 @@ ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, pte_t *ptep) | |||
393 | extern void update_mmu_cache(struct vm_area_struct * vma, | 393 | extern void update_mmu_cache(struct vm_area_struct * vma, |
394 | unsigned long address, pte_t *ptep); | 394 | unsigned long address, pte_t *ptep); |
395 | 395 | ||
396 | /* | ||
397 | * remap a physical page `pfn' of size `size' with page protection `prot' | ||
398 | * into virtual address `from' | ||
399 | */ | ||
400 | |||
401 | #define io_remap_pfn_range(vma,from,pfn,size,prot) \ | ||
402 | remap_pfn_range(vma, from, pfn, size, prot) | ||
403 | |||
404 | typedef pte_t *pte_addr_t; | 396 | typedef pte_t *pte_addr_t; |
405 | 397 | ||
406 | #endif /* !defined (__ASSEMBLY__) */ | 398 | #endif /* !defined (__ASSEMBLY__) */ |