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-alpha | |
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-alpha')
-rw-r--r-- | include/asm-alpha/pgtable.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-alpha/pgtable.h b/include/asm-alpha/pgtable.h index 22b53e369f59..8393bf374b2b 100644 --- a/include/asm-alpha/pgtable.h +++ b/include/asm-alpha/pgtable.h | |||
@@ -339,13 +339,6 @@ extern inline pte_t mk_swap_pte(unsigned long type, unsigned long offset) | |||
339 | #define kern_addr_valid(addr) (1) | 339 | #define kern_addr_valid(addr) (1) |
340 | #endif | 340 | #endif |
341 | 341 | ||
342 | #define io_remap_page_range(vma, start, busaddr, size, prot) \ | ||
343 | ({ \ | ||
344 | void *va = (void __force *)ioremap(busaddr, size); \ | ||
345 | unsigned long pfn = virt_to_phys(va) >> PAGE_SHIFT; \ | ||
346 | remap_pfn_range(vma, start, pfn, size, prot); \ | ||
347 | }) | ||
348 | |||
349 | #define io_remap_pfn_range(vma, start, pfn, size, prot) \ | 342 | #define io_remap_pfn_range(vma, start, pfn, size, prot) \ |
350 | remap_pfn_range(vma, start, pfn, size, prot) | 343 | remap_pfn_range(vma, start, pfn, size, prot) |
351 | 344 | ||