X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=mm%2Fswap.c;h=0092097b3f4ce5e22844759a9e264ef143d05c7c;hb=347f31e9ad98b6bc15c50c72ae385b50bd7149b0;hp=b31ba67d440ac997a05de372e831046bf98d9070;hpb=e4e027ea2d7a59819a0384c2d1031aafc5833903;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git diff --git a/mm/swap.c b/mm/swap.c index b31ba67..0092097 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -98,7 +98,7 @@ static void put_compound_page(struct page *page) } /* __split_huge_page_refcount can run under us */ - page_head = compound_trans_head(page); + page_head = compound_head(page); /* * THP can not break up slab pages so avoid taking @@ -253,7 +253,7 @@ bool __get_page_tail(struct page *page) */ unsigned long flags; bool got; - struct page *page_head = compound_trans_head(page); + struct page *page_head = compound_head(page); /* Ref to put_compound_page() comment. */ if (!__compound_tail_refcounted(page_head)) {