]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/video/gbefb.c
mm: kill vma flag VM_RESERVED and mm->reserved_vm counter
[karo-tx-linux.git] / drivers / video / gbefb.c
index 7e7b7a9ba274ba2d33450b68b76a55ba21fab898..05e2a8a99d8fbc63545da7625298e6a895ba5c6c 100644 (file)
@@ -1024,7 +1024,7 @@ static int gbefb_mmap(struct fb_info *info,
        pgprot_val(vma->vm_page_prot) =
                pgprot_fb(pgprot_val(vma->vm_page_prot));
 
-       vma->vm_flags |= VM_IO | VM_RESERVED;
+       /* VM_IO | VM_DONTEXPAND | VM_DONTDUMP are set by remap_pfn_range() */
 
        /* look for the starting tile */
        tile = &gbe_tiles.cpu[offset >> TILE_SHIFT];