mm: remove the prot argument from vm_map_ram
[linux-2.6-microblaze.git] / fs / xfs / xfs_buf.c
index 9ec3eaf..65538d1 100644 (file)
@@ -477,7 +477,7 @@ _xfs_buf_map_pages(
                nofs_flag = memalloc_nofs_save();
                do {
                        bp->b_addr = vm_map_ram(bp->b_pages, bp->b_page_count,
-                                               -1, PAGE_KERNEL);
+                                               -1);
                        if (bp->b_addr)
                                break;
                        vm_unmap_aliases();