diff --git a/mm/mprotect.c b/mm/mprotect.c index ab709023e9aafa5cb93ffd09a8fc7ec7ffddb630..4ca703549568419846cde196fcab53bce6ddf056 100644 --- a/mm/mprotect.c +++ b/mm/mprotect.c @@ -94,7 +94,7 @@ static unsigned long change_pte_range(struct vm_area_struct *vma, pmd_t *pmd, /* Also skip shared copy-on-write pages */ if (is_cow_mapping(vma->vm_flags) && - page_mapcount(page) != 1) + page_count(page) != 1) continue; /*