mm: remove the prot argument from vm_map_ram
[openwrt/staging/blogic.git] / drivers / media / common / videobuf2 / videobuf2-dma-sg.c
index 6db60e9d518313f736503c058ddbd7ac65400292..92072a08af25502d539b20b4b247b69618bd39b1 100644 (file)
@@ -309,8 +309,7 @@ static void *vb2_dma_sg_vaddr(void *buf_priv)
                if (buf->db_attach)
                        buf->vaddr = dma_buf_vmap(buf->db_attach->dmabuf);
                else
-                       buf->vaddr = vm_map_ram(buf->pages,
-                                       buf->num_pages, -1, PAGE_KERNEL);
+                       buf->vaddr = vm_map_ram(buf->pages, buf->num_pages, -1);
        }
 
        /* add offset in case userptr is not page-aligned */