diff --git a/fs/erofs/data.c b/fs/erofs/data.c index ffc298d39ae2..479c6b00bf35 100644 --- a/fs/erofs/data.c +++ b/fs/erofs/data.c @@ -444,6 +444,9 @@ static int erofs_file_mmap(struct file *file, struct vm_area_struct *vma) vma->vm_ops = &erofs_dax_vm_ops; vma->vm_flags |= VM_HUGEPAGE; +#if defined(CONFIG_ROCKCHIP_RAMDISK) && defined(CONFIG_ARM) + vma->vm_flags |= VM_MIXEDMAP; +#endif return 0; } #else