mm: remove the prot argument from vm_map_ram
[linux-2.6-microblaze.git] / drivers / media / common / videobuf2 / videobuf2-vmalloc.c
index 1a4f0ca..c66fda4 100644 (file)
@@ -107,8 +107,7 @@ static void *vb2_vmalloc_get_userptr(struct device *dev, unsigned long vaddr,
                buf->vaddr = (__force void *)
                        ioremap(__pfn_to_phys(nums[0]), size + offset);
        } else {
-               buf->vaddr = vm_map_ram(frame_vector_pages(vec), n_pages, -1,
-                                       PAGE_KERNEL);
+               buf->vaddr = vm_map_ram(frame_vector_pages(vec), n_pages, -1);
        }
 
        if (!buf->vaddr)