WIP: update tizen_qemu_defconfig
[platform/kernel/linux-starfive.git] / mm / userfaultfd.c
index 3d0fef3..650ab6c 100644 (file)
@@ -64,7 +64,7 @@ int mfill_atomic_install_pte(struct mm_struct *dst_mm, pmd_t *dst_pmd,
        pte_t _dst_pte, *dst_pte;
        bool writable = dst_vma->vm_flags & VM_WRITE;
        bool vm_shared = dst_vma->vm_flags & VM_SHARED;
-       bool page_in_cache = page->mapping;
+       bool page_in_cache = page_mapping(page);
        spinlock_t *ptl;
        struct inode *inode;
        pgoff_t offset, max_off;