X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=mm%2Fmprotect.c;h=ed18dc49533f64fcb19bbfacea05fb0c4c04cab0;hb=3f3a00bd4c7a0435dfca6d90fbe499acedfec7f0;hp=883e2cc85cad84ad0e67822b8ac22a0ecbae9aee;hpb=fd66ad69ef5a59f303b595ac8ecf454f213cb7e6;p=platform%2Fkernel%2Flinux-rpi.git diff --git a/mm/mprotect.c b/mm/mprotect.c index 883e2cc..ed18dc4 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; /*