mm: remove rest usage of VM_NONLINEAR and pte_file()
[deliverable/linux.git] / mm / mprotect.c
index ace93454ce8ebe10f0b3cf5278aafd0a0d5fe4df..33121662f08b502ee8ae6bcee2f0ad579436cf9e 100644 (file)
@@ -105,7 +105,7 @@ static unsigned long change_pte_range(struct vm_area_struct *vma, pmd_t *pmd,
                        }
                        if (updated)
                                pages++;
-               } else if (IS_ENABLED(CONFIG_MIGRATION) && !pte_file(oldpte)) {
+               } else if (IS_ENABLED(CONFIG_MIGRATION)) {
                        swp_entry_t entry = pte_to_swp_entry(oldpte);
 
                        if (is_write_migration_entry(entry)) {
This page took 0.030621 seconds and 5 git commands to generate.