mm: memblock: make keeping memblock memory opt-in rather than opt-out
[sfrench/cifs-2.6.git] / mm / userfaultfd.c
index d59b5a73dfb38b1301092578c6704eb10eb5ecb2..9932d5755e4cba2a7e9b42df7918b5c5c123d6ec 100644 (file)
@@ -271,8 +271,7 @@ retry:
                 */
                idx = linear_page_index(dst_vma, dst_addr);
                mapping = dst_vma->vm_file->f_mapping;
-               hash = hugetlb_fault_mutex_hash(h, dst_mm, dst_vma, mapping,
-                                                               idx, dst_addr);
+               hash = hugetlb_fault_mutex_hash(h, mapping, idx, dst_addr);
                mutex_lock(&hugetlb_fault_mutex_table[hash]);
 
                err = -ENOMEM;