diff options
Diffstat (limited to 'include/asm-arm/pgtable.h')
-rw-r--r-- | include/asm-arm/pgtable.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-arm/pgtable.h b/include/asm-arm/pgtable.h index 478c49b56e18..366bafbdfbb1 100644 --- a/include/asm-arm/pgtable.h +++ b/include/asm-arm/pgtable.h | |||
@@ -445,12 +445,9 @@ extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; | |||
445 | #define HAVE_ARCH_UNMAPPED_AREA | 445 | #define HAVE_ARCH_UNMAPPED_AREA |
446 | 446 | ||
447 | /* | 447 | /* |
448 | * remap a physical address `phys' of size `size' with page protection `prot' | 448 | * remap a physical page `pfn' of size `size' with page protection `prot' |
449 | * into virtual address `from' | 449 | * into virtual address `from' |
450 | */ | 450 | */ |
451 | #define io_remap_page_range(vma,from,phys,size,prot) \ | ||
452 | remap_pfn_range(vma, from, (phys) >> PAGE_SHIFT, size, prot) | ||
453 | |||
454 | #define io_remap_pfn_range(vma,from,pfn,size,prot) \ | 451 | #define io_remap_pfn_range(vma,from,pfn,size,prot) \ |
455 | remap_pfn_range(vma, from, pfn, size, prot) | 452 | remap_pfn_range(vma, from, pfn, size, prot) |
456 | 453 | ||