dvfs: add virtual temperature control
[firefly-linux-kernel-4.4.55.git] / mm / mlock.c
index 713e462c077637664c80287ab6e864ff54b2eaab..3dcea72277be8988ce2df2f185eadb2fc8b05d7a 100644 (file)
@@ -289,7 +289,8 @@ static int mlock_fixup(struct vm_area_struct *vma, struct vm_area_struct **prev,
 
        pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT);
        *prev = vma_merge(mm, *prev, start, end, newflags, vma->anon_vma,
-                         vma->vm_file, pgoff, vma_policy(vma));
+                         vma->vm_file, pgoff, vma_policy(vma),
+                         vma_get_anon_name(vma));
        if (*prev) {
                vma = *prev;
                goto success;