drop VM_IO because it's not MMIO

This commit is contained in:
NAKAMURA Gou
2014-08-07 16:16:13 +09:00
parent 9fda245490
commit a79a0a618d

View File

@ -429,7 +429,7 @@ static struct vm_operations_struct rus_vmops = {
static int rus_mmap(struct file *file, struct vm_area_struct *vma)
{
vma->vm_flags |= VM_IO | VM_RESERVED | VM_DONTEXPAND | VM_PFNMAP;
vma->vm_flags |= VM_RESERVED | VM_DONTEXPAND | VM_PFNMAP;
vma->vm_ops = &rus_vmops;
return 0;
}