use mixed mapping instead of PFN mapping

This commit is contained in:
NAKAMURA Gou
2014-08-07 16:36:33 +09:00
parent a79a0a618d
commit fe39d56554

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_RESERVED | VM_DONTEXPAND | VM_PFNMAP;
vma->vm_flags |= VM_RESERVED | VM_DONTEXPAND | VM_MIXEDMAP;
vma->vm_ops = &rus_vmops;
return 0;
}