This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / sound / oss / ite8172.c
index 57718fe..f984133 100644 (file)
@@ -693,7 +693,7 @@ static int prog_dmabuf(struct it8172_state *s, struct dmabuf *db,
                        return -ENOMEM;
                db->buforder = order;
                /* now mark the pages as reserved;
-                  otherwise remap_pfn_range doesn't do what we want */
+                  otherwise remap_page_range doesn't do what we want */
                pend = virt_to_page(db->rawbuf +
                                    (PAGE_SIZE << db->buforder) - 1);
                for (page = virt_to_page(db->rawbuf); page <= pend; page++)
@@ -1311,8 +1311,7 @@ static int it8172_mmap(struct file *file, struct vm_area_struct *vma)
                unlock_kernel();
                return -EINVAL;
        }
-       if (remap_pfn_range(vma, vma->vm_start,
-                            virt_to_phys(db->rawbuf) >> PAGE_SHIFT,
+       if (remap_page_range(vma, vma->vm_start, virt_to_phys(db->rawbuf),
                             size, vma->vm_page_prot)) {
                unlock_kernel();
                return -EAGAIN;