drop VM_IO because it's not MMIO
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user