aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/fbmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbmem.c')
-rw-r--r--drivers/video/fbmem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
index 0dff12a1daef..3ff0105a496a 100644
--- a/drivers/video/fbmem.c
+++ b/drivers/video/fbmem.c
@@ -1410,8 +1410,7 @@ fb_mmap(struct file *file, struct vm_area_struct * vma)
1410 return -EINVAL; 1410 return -EINVAL;
1411 off += start; 1411 off += start;
1412 vma->vm_pgoff = off >> PAGE_SHIFT; 1412 vma->vm_pgoff = off >> PAGE_SHIFT;
1413 /* This is an IO map - tell maydump to skip this VMA */ 1413 /* VM_IO | VM_DONTEXPAND | VM_DONTDUMP are set by io_remap_pfn_range()*/
1414 vma->vm_flags |= VM_IO | VM_RESERVED;
1415 vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); 1414 vma->vm_page_prot = vm_get_page_prot(vma->vm_flags);
1416 fb_pgprotect(file, vma, off); 1415 fb_pgprotect(file, vma, off);
1417 if (io_remap_pfn_range(vma, vma->vm_start, off >> PAGE_SHIFT, 1416 if (io_remap_pfn_range(vma, vma->vm_start, off >> PAGE_SHIFT,