diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2005-09-13 04:25:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-13 11:22:33 -0400 |
commit | 33bf56106d9be272696b73d9179da4e56b277472 (patch) | |
tree | 905fe909edf96831a988de8fd35d22ee96ab4db0 /include/asm-arm/pgtable.h | |
parent | 82006d084109bb4118f1de0dc5855abe5ccae430 (diff) |
[PATCH] feature removal of io_remap_page_range()
As written in Documentation/feature-removal-schedule.txt, remove the
io_remap_page_range() kernel API.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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 | ||