summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2005-09-13 01:25:50 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-13 08:22:33 -0700
commit33bf56106d9be272696b73d9179da4e56b277472 (patch)
tree905fe909edf96831a988de8fd35d22ee96ab4db0 /include/asm-alpha
parent82006d084109bb4118f1de0dc5855abe5ccae430 (diff)
downloadop-kernel-dev-33bf56106d9be272696b73d9179da4e56b277472.zip
op-kernel-dev-33bf56106d9be272696b73d9179da4e56b277472.tar.gz
[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.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-alpha/pgtable.h b/include/asm-alpha/pgtable.h
index 22b53e3..8393bf3 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)
#define kern_addr_valid(addr) (1)
#endif
-#define io_remap_page_range(vma, start, busaddr, size, prot) \
-({ \
- void *va = (void __force *)ioremap(busaddr, size); \
- unsigned long pfn = virt_to_phys(va) >> PAGE_SHIFT; \
- remap_pfn_range(vma, start, pfn, size, prot); \
-})
-
#define io_remap_pfn_range(vma, start, pfn, size, prot) \
remap_pfn_range(vma, start, pfn, size, prot)
OpenPOWER on IntegriCloud