summaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/pgtable.h
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2005-09-13 10:25:50 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-13 17:22:33 +0200
commit33bf56106d9be272696b73d9179da4e56b277472 (patch)
tree905fe909edf96831a988de8fd35d22ee96ab4db0 /include/asm-xtensa/pgtable.h
parent[PATCH] drivers/video: Replace custom macro with isdigit() (diff)
downloadlinux-33bf56106d9be272696b73d9179da4e56b277472.tar.xz
linux-33bf56106d9be272696b73d9179da4e56b277472.zip
[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-xtensa/pgtable.h')
-rw-r--r--include/asm-xtensa/pgtable.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-xtensa/pgtable.h b/include/asm-xtensa/pgtable.h
index 883ebc2d75d6..987e3b802313 100644
--- a/include/asm-xtensa/pgtable.h
+++ b/include/asm-xtensa/pgtable.h
@@ -441,11 +441,11 @@ extern void update_mmu_cache(struct vm_area_struct * vma,
unsigned long address, pte_t pte);
/*
- * remap a physical address `phys' of size `size' with page protection `prot'
+ * remap a physical page `pfn' of size `size' with page protection `prot'
* into virtual address `from'
*/
-#define io_remap_page_range(vma,from,phys,size,prot) \
- remap_pfn_range(vma, from, (phys) >> PAGE_SHIFT, size, prot)
+#define io_remap_pfn_range(vma,from,pfn,size,prot) \
+ remap_pfn_range(vma, from, pfn, size, prot)
/* No page table caches to init */